ExitCode: Integer;
ExitCode: Int32;
The ExitCode property returns the process exit code.
This property is relevant if the IProcess.HasExited property returned True. Attempts to access the property until the process is completed will result in errors.
The property use is given in the example for IProcess.Start.
See also: