Wait for process to terminate.
Source position: unix.pp line 133
function WaitProcess( |
Pid: cint |
):cint; |
WaitProcess waits for process PID to exit. WaitProcess is equivalent to the #rtl.baseunix.FpWaitPID call:
FpWaitPid(PID,@result,0)
Handles of Signal interrupts (errno=EINTR), and returns the Exitcode of Process PID (>=0) or -Status if it was terminated
None.
|
Wait for a process to terminate. |
|
|
Return the signal that caused a process to exit. |
|
|
Return the exit code from the process. |
|
|
Check whether the process exited normally. |
|
|
Check whether the process is currently stopped. |
|
|
Check whether the process was exited by a signal. |
|
|
Construct an exit status based on an return code and signal. |
|
|
Construct an exit status based on a signal. |
|
|
Extract the exit status from the fpWaitPID result. |