Work around potential nil $? (#526)
Work around potential nil $? (#526)

Process.wait populates $? from which the exit call reads the exit status, but
if the SIGINT trap above (added in d0fbc51) fires and the process terminates
itself in reaction to that forwarded SIGINT, then $? will be nil as the kill
call terminated the process and there is nothing left to wait for.
ddollar/foreman,ddollar/foreman,ddollar/foreman