 [det]process_wait(+PID, 
-Status)
[det]process_wait(+PID, 
-Status)infinite. If this option is a number, the waits 
for a maximum of Timeout seconds and unifies Status 
with timeout if the process does not terminate within
Timeout. In this case PID is not 
invalidated. On Unix systems only timeout 0 and infinite 
are supported. A 0-value can be used to poll the status of the process.release(false) is provided.| Status | is one of exit(Code)orkilled(Signal), 
where Code and Signal are integers. If thetimeoutoption 
is used Status is unified withtimeoutafter the 
wait timed out. |