Beefy Boxes and Bandwidth Generously Provided by pair Networks Joe
Perl-Sensitive Sunglasses
 
PerlMonks  

Answer: Is it possible to background a perl script from within itself?

( #41778=categorized answer: print w/ replies, xml ) Need Help??

Q&A > programs and processes > Is it possible to background a perl script from within itself? contributed by jeroenes

See this thread for info on executing backgrounding a script.
Specialized modules exist for this kind of problem:

I was amazed by the length of the 'detaching' sequence.
You need Net::daemon if you want to claim a socket, otherwise Proc::daemon should suffice.

Comment on Answer: Is it possible to background a perl script from within itself?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (14)
As of 2013-05-22 21:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best material for plates (tableware) is:









    Results (470 votes), past polls