Help for this page

Select Code to Download


  1. or download this
    $SIG{TERM} = sub {$SIG{TERM}="IGNORE";
                      $term_sig = 1;};
    print "\n  $$ \n";
    sleep(20);
    print "TERM signal ignored\n";
    
  2. or download this
    kill -15 <pid>