perljunky has asked for the wisdom of the Perl Monks concerning the following question:
#!/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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Putting script in background
by Fletch (Bishop) on Sep 13, 2007 at 00:07 UTC | |
by perljunky (Sexton) on Sep 13, 2007 at 00:13 UTC |