Re: os.fork() different in cgi-script?
by Andreas Kuntzagk other posts by this author
Jul 2 2003 3:11PM messages near this date
Re: os.fork() different in cgi-script?
|
Re: os.fork() different in cgi-script?
On Wed, 02 Jul 2003 09:50:03 +0000, Michael Coleman wrote:
> Probably because stdout is being buffered here. The pid got written in
> the buffer (but not yet actually printed), then the process was forked,
> then the buffer got flushed (written out) by each child.
>
> One solution would be to make sure everything is flushed before you
> fork.
Thanx, that's it. Is it possible/advisable to make stdout unbuffered?
Andreas
--
http://mail.python.org/mailman/listinfo/python-list
Thread:
Andreas Kuntzagk
Juha Autero
Andreas Kuntzagk
Andreas Kuntzagk
Michael Coleman
Andreas Kuntzagk
Michael Coleman
|