Even after waitpid, $? doesn't indicate whether the child was launched successfully or not. $? indicates whether the child *ended* successfully.
In reply to Re^4: Reading return value from C program
by ikegami
in thread Reading return value from C program
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |