wifexited

Check whether the process exited normally

Declaration

Source position: bunxovlh.inc line 93

  function wifexited(Status: cint) : Boolean;

Description

WIFEXITED checks Status and returns True if the status indicates that the process terminated normally, i.e. was not stopped by a signal.

See also

Name Description
FpWaitPID Wait for a process to terminate
WEXITSTATUS Extract the exit status from the fpWaitPID result.
WIFSIGNALED Check whether the process was exited by a signal.
WSTOPSIG Return the exit code from the process.
WTERMSIG Return the signal that caused a process to exit.