Help for this page

Select Code to Download


  1. or download this
    for my $pid (@pids) {
      my $r = waitpid($pid, 0);
      # do error checking here, and ensure that $r is really $pid
    }