Re: system_exec() on Linux
- Posted by Jason Gade <jaygade at yahoo??om> Oct 10, 2007
- 622 views
Looking at the man pages for system(3) and wait(2), though, Derek is right. you should still get back -1 for an error, but your actual eight-bit exit status is in the lower half of the word you get back. Heh. Learn something new every day. -- A complex system that works is invariably found to have evolved from a simple system that works. --John Gall's 15th law of Systemantics. "Premature optimization is the root of all evil in programming." --C.A.R. Hoare j.