|
Zen API
|
Gets the exit code of a process.
Make sure to wait for process completion via kProcess_Wait() before calling this function.
Note that a terminated process (via kProcess_Terminate()) will not have a meaningful exit code. Note that in process land, zero means success, while non-zero means failure.
| process | kProcess object. |