http://www.perlmonks.org?node_id=312137


in reply to Re: Re: Leave it running
in thread Leave it running

Try this, inside your perl script:

$SIG{HUP} = 'IGNORE';

Then try running it in the background (script.pl &).

Or, to act like a real daemon process, read perlipc under the 'Complete Dissociation of Child from Parent' section.

--
3dan