um, fork? fork creates a second process, not spawns a specific one... On Jan 20, 2010, at 10:33 AM, shadyabhi wrote:
> Sanjeev Gupta wrote: > > > > > > Hi Friends, > > > > I am invoking a shell script in a C++ program using 'system()' > > finction (I believe system() is the only way to call a script from C++ > > program. Please correct me if i am wrong). > > > > The proble is system function does not return me the exit status of > > the script. Can anybody tell me how i can get the same. > > > > Regards, > > Sanjeev > > > > [Non-text portions of this message have been removed] > > > > > You can also use fork.. > > [Non-text portions of this message have been removed] > > [Non-text portions of this message have been removed] ------------------------------------ To unsubscribe, send a blank message to <mailto:[email protected]>.Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/c-prog/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/c-prog/join (Yahoo! ID required) <*> To change settings via email: [email protected] [email protected] <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
