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 ;-)