This should do the trick for you:
$SIG{HUP} = 'IGNORE';
Or, if you have a config file you would like to re-parse or something,
you could create a sub that does this, and then do something like:
$SIG{HUP} = \&Parse_Config;
Hope it helps.
-Brian
> Folks,
>
> What would be the most efficient,e
Folks,
What would be the most efficient,easiest way to nohup a script from within
perl?
$file_to_run = "nohup $filename &";
exec ($filename); ?
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]