The exit code of the process, unless reason is launch-failed, in which case exitCode will be a platform-specific launch failure error code.
reason
launch-failed
exitCode