Return the exit status of the child process instead of its pid.
Merge pull request #1 from jszakmeister/fix-exit-status

Return the exit status of the child process instead of its pid.