Sign in Join
FPDoc Onlineexperiment

TProcess.ExitCode property

Member of TProcesspublicIn unit Process

Exit code of the process.

Declaration

pascal
property ExitCode: Integer read GetExitCode;

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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.