Just another Perl shrine | |
PerlMonks |
Re: forked child process is not able to access the file handleby Krambambuli (Curate) |
on Jan 27, 2010 at 21:57 UTC ( [id://820035]=note: print w/replies, xml ) | Need Help?? |
If I'm seeing it right, you're exiting the parent process too soon - and the log file is closed before the childs get a chance to write into it. Try to outcomment the parent exit(), just to see if this diagnosis is correct. If it is, consider keeping the parent alive till the last child finished it's work. Krambambuli ---
In Section
Seekers of Perl Wisdom
|
|