Help for this page

Select Code to Download


  1. or download this
    $SIG{CHLD} = \&REAPER;
    sub REAPER {
    ...
    }
    $SIG{CHLD} = \&REAPER; # install *after* calling waitpid
    }