Re: system_exec() on Linux
- Posted by Derek Parnell <ddparnell at big?ond.c?m> Oct 10, 2007
- 606 views
I think that the Linux return code is in the rightmost byte of the return value from the C system() call. sysret = system(pszCommand); result = ((sysret & 0xFF00) >> 8); -- Derek Parnell Melbourne, Australia Skype name: derek.j.parnell