Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - System call sporadically returns with "-1" once in four tries: (1 Item)
   
System call sporadically returns with "-1" once in four tries  
i have used system call to copy different files one by one using system for close to 68 files.

system("Cp -cf source destination");
the calls return with "-1"  which i could lookup from QNX help as couldnt load shell.
where as i am able to open a shell through terminal at the same time.

Are there any other specific reason when the system calls returns -1. or why it couldnt load a shell ??