Returns the value returned by the process when it exited, or the number of the emitted signal if it crashed.