Best way to capture output from an exec'ed (or such) script?

gregpinero at gmail.com gregpinero at gmail.com
Fri Aug 3 11:14:26 EDT 2007


On Aug 2, 7:32 pm, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote:
> If your web server is multithreaded (or you use some other way to process
> many simultaneous requests) you have to be more careful - remember that
> sys.stdout is global, you must find a way to distinguish between output
>  from different processes all going into the same collector.
>
Any ideas on how to do this?  Is it even possible?

-Greg




More information about the Python-list mailing list