TCnProcess.ExitCode Property

Gets the value that the associated process specified when it terminated.

Namespace: CNClrLib.Component.Process
public
 property ExitCode: Integer read GetExitCode;

Property Value

Type: Integer

The code that the associated process specified when it terminated.

Use ExitCode to get the status that the system process returned when it exited.