Perl Programming/Keywords/waitpid

Previous: wait Keywords Next: wantarray

The waitpid keyword edit

The function waitpid returns the PID of a particular child process when deceased, or -1, if there was not such a child process. Some systems indicate that there are still processes running with 0.

Syntax edit

  waitpid PID, FLAGS
Previous: wait Keywords Next: wantarray