View Single Post
Old 04-10-2008, 07:39 AM   #5
sws
Code Monkey
 
sws's Avatar
 
Join Date: Sep 2007
Location: Madison, WI
Posts: 851
Default

If you execute a subprogram from within your code using _spawnl() or its derivates it will return the exit code of the subprogram. The way I understand it, the only process that can see the exit code is the parent process (often explorer.exe in Windows or your shell in unix).
sws is offline   Reply With Quote