On Thu, Feb 11, 2010 at 6:39 AM, Shawn H Corey <[email protected]> wrote:
>
> You can do the same thing inside Perl with %SIG:
>
> $SIG{HUP} = 'IGNORE';
>
Also "nohup" redirect all stdout and stderr to a file "nohup.out".
So you have also to reopen STDOUT and STDERR to a file handle if doing
it in the script.
btw, Cheers Chinese New Year for all Chinese Perl users.
--
Jeff Peng
Email: [email protected]
Skype: compuperson
--
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
http://learn.perl.org/