I solved the problem myself... it was a bufferproblem of STDOUT. When I tried that, I made modifications to the wrong script, that is why I thought it did not work out! Stupid me! ;)
Thanx everybody who reacted, sorry to have bothered you! Regards, Marco > -----Original Message----- > From: Marco Kleefman [mailto:[EMAIL PROTECTED]] > Sent: vrijdag 2 november 2001 14:30 > To: [EMAIL PROTECTED] > Subject: fork/CGI/Apache problem > I have this script which forks off a process which does > something. > Somehow all print statements in my script which occur before > the fork-part > of the script are printed twice! I have tried to unbuffer > STDOUT, but no > luck until now...