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

gregpinero at gregpinero at
Fri Aug 3 17:14:26 CEST 2007

On Aug 2, 7:32 pm, "Gabriel Genellina" <gagsl-... at> 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?


More information about the Python-list mailing list