in reply to how do I extract status from the response of waitpid ?

waitpid returns the PID of the reaped child, not its exit status. waitpid sets the child's status in $?

Dave.

  • Comment on Re: how do I extract status from the response of waitpid ?