Help for this page

Select Code to Download


  1. or download this
             # POSIX unmasks the sigprocmask properly
             my $sigset = POSIX::SigSet->new();
    ...
                 print "got SIGHUP\n";
                 exec($SELF, @ARGV) or die "Couldn't restart: $!\n";
             }