Add a simpler way to retrieve the exit status of a process