Help for this page

Select Code to Download


  1. or download this
    sub REAPER {
      my $stiff;
      while ($stiff=waitpid(-1,WNOHANG)>0) { }
    }
    
  2. or download this
    sub REAPER {
      my $stiff;
      while ($stiff=waitpid(-1,WNOHANG)>0) { $waitepid+=$stiff; }
    }