in reply to Re^3: Reading return value from C program
in thread Reading return value from C program

Even after waitpid, $? doesn't indicate whether the child was launched successfully or not. $? indicates whether the child *ended* successfully.

Replies are listed 'Best First'.
Re^5: Reading return value from C program
by agianni (Hermit) on Mar 15, 2007 at 20:40 UTC
    Sorry for the lack of clarity, do the updated comments better reflect the meaning of $?