The exit code for the process (e.g. status from waitpid if on POSIX, from GetExitCodeProcess on Windows), unless reason is launch-failed, in which case exitCode will be a platform-specific launch failure error code.
reason
launch-failed
exitCode