Help for this page

Select Code to Download


  1. or download this
    $SIG{INT} = $SIG{HUP} = sub {};
    exec qw(/bin/sleep 5)
        or die 'exec failed';
    
  2. or download this
    $SIG{INT} = $SIG{HUP} = 'IGNORE';
    exec qw(sleep 5)
        or die 'exec failed';