Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Problems with flushing after fork()

by ruzam (Curate)
on Feb 12, 2010 at 05:57 UTC ( [id://822818]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Problems with flushing after fork()
in thread Problems with flushing after fork()

To complete the separation you must also dis-associate the forked child from the parent.
use POSIX qw(setsid); ... # inside your forked child setsid() or die "Can't start a new session: $!";

Replies are listed 'Best First'.
Re^4: Problems with flushing after fork()
by smiffy (Pilgrim) on Feb 13, 2010 at 00:16 UTC

    Thanks - I'll give that a try on Monday. Trying to have a couple of days sanity break now ;-)

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (6)
As of 2024-03-28 12:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found