ipcIsAliveProcess
ipcIsAliveProcess(o_childId) =>t/nil
Description
Checks if a child process is still alive.
In real time, notification that a child process has expired can never be made available immediately after it happens. It is subject to the operating system’s underlying process communication delays and to network delays if the child is executing remotely. You need to make allowances for such delays.
Arguments
Value Returned
Examples
cid = ipcBeginProcess("sleep 15")
ipc:10
ipcIsAliveProcess(cid)
t
cid->state
Active
;; wait 15 seconds
ipcIsAliveProcess(cid)
nil
cid->state
Dead
Related Topics
Interprocess Communication Functions
Return to top