ProcessExitStatus.ExitCode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the exit code of the process.
public:
property int ExitCode { int get(); };
public int ExitCode { get; }
member this.ExitCode : int
Public ReadOnly Property ExitCode As Integer
Property Value
The exit code of the process.
Remarks
If the process was terminated by a signal on Unix, the exit code is 128 + the signal number. Use Signal to get the actual signal.