Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

RE: Proc::Daemon

by gregorovius (Friar)
on Sep 24, 2000 at 12:16 UTC ( [id://33832]=note: print w/replies, xml ) Need Help??


in reply to Proc::Daemon

> (like the double fork, setsid, chdir, reopen STDOUT etc)

Now from the parent script you only have to do a:

system('perl my_daemon.pl');
and system will return as the forked off child detaches itself from the parent. Useful for when your client program has to start it's own server.

It's Neat!

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (5)
As of 2024-03-28 17:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found