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


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

nohup doesn't work either!

-Kevin

Replies are listed 'Best First'.
Re: Re: Re: Leave it running
by edan (Curate) on Dec 04, 2003 at 07:21 UTC

    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