ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> python-list
python-list
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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved