wait

Name

wait -- Wait for process completion.

Type: function

Synopsis

wait(, pid status);

Return Values

pid

An instance of <integer>

status

An instance of <integer>

Description

Wait for a child process to complete. If the wait() system call returns -1, this function returns #f #f instead.