Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Leave it running

by Anonymous Monk
on Dec 04, 2003 at 07:04 UTC ( #312132=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://312132]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (3)
As of 2018-08-22 03:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Asked to put a square peg in a round hole, I would:









    Results (204 votes). Check out past polls.

    Notices?