Return parent's return value in doRun so that the exit status of the process correctly reflects failure/success