Thanks. I was getting a wee bit concerned about closing STDERR!
In reply to Re^2: Problems with flushing after fork() by smiffy in thread Problems with flushing after fork() by smiffy