Did you know ... | Search Documentation: |
Predicate process_wait/2 |
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) or killed(Signal) ,
where Code and Signal are integers. If the timeout option
is used Status is unified with timeout after the
wait timed out. |