The Wayback Machine - https://web.archive.org/web/20160117181506/http://perldoc.perl.org/functions/wait.html

Perl version

Modules

  • ABCDE
  • FGHIL
  • MNOPS
  • TUX

wait

Perl 5 version 22.0 documentation

Please note: Many features of this site require JavaScript. You appear to have JavaScript disabled, or are running a non-JavaScript capable web browser.

To get the best experience, please enable JavaScript or download a modern web browser such as Internet Explorer 8, Firefox, Safari, or Google Chrome.

Recently read

wait

  • wait

    Behaves like wait(2) on your system: it waits for a child process to terminate and returns the pid of the deceased process, or -1 if there are no child processes. The status is returned in $? and ${^CHILD_ERROR_NATIVE} . Note that a return value of -1 could mean that child processes are being automatically reaped, as described in perlipc.

    If you use wait in your handler for $SIG{CHLD}, it may accidentally wait for the child created by qx() or system(). See perlipc for details.

    Portability issues: wait in perlport.

 
Morty Proxy This is a proxified and sanitized view of the page, visit original site.