Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

RE: Proc::Daemon

by gregorovius (Friar)
on Sep 24, 2000 at 12:16 UTC ( #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
Node Status?
node history
Node Type: note [id://33832]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2021-04-17 20:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?