Use Integer, rather than int, so we can represent the unset exit value
and pid with null, rather than -1