WaitProcess function
Wait for process to terminate.
Declaration
function WaitProcess(Pid: cint): cintDescription
WaitProcess waits for process
PID to exit.
WaitProcess is equivalent to the
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
Errors
None.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
