All the other ways of calling system wait for the child to finish and reaps it. It would make no sense for them to return the PID of a process that no longer exists, so they do not return the child's PID.
In reply to Re: does system() return a pid?
by ikegami
in thread does system() return a pid?
by sciguy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |