Synchronously get the exit code of the processIf the process hasn't exited yet, this will return null