TProcess.ExitCode¶
Exit code of the process.
Declaration¶
Source position: processbody.inc line 212
public property ExitCode: Integer;
Description¶
ExitCode is the actual exit code of the process. On UNIX, this may differ from the ExitStatus value if the process was terminated by a signal: in that case ExitStatus is the raw exit status as reported by one of the UNIX Wait command, and ExitCode is the exit code reported by the program.
See also¶
| Name | Description |
|---|---|
| TProcess.ExitStatus | Exit status of the process. |
| TProcess.Running | Determines whether the process is still running. |
| TProcess.WaitOnExit | Wait for the program to stop executing. |
| TProcess.Terminate | Terminate a running process. |