Perl Programming/Keywords/wait
Appearance
The wait keyword
[edit | edit source]The function wait behaves like wait(2) on UNIX-like systems, returning the PID of the child process deceased, or -1, if there was none. The status of the process can be found in $? and ${^CHILD_ERROR_NATIVE}.
Syntax
[edit | edit source] wait