#!/usr/bin/perl # Put script in background but wait a few before exiting sleep 10, exit if (my $pid = fork); # Signal handling routines $SIG{'INT'} = &INT_handler; $SIG{'QUIT'} = &QUIT_handler; # rest of child code below including sub INT_handler
In reply to Putting script in background by perljunky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |