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

gregpinero at gregpinero at
Sat Aug 4 23:52:16 CEST 2007

On Aug 3, 11:14 am, "gregpin... at" <gregpin... at>
> 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?
> -Greg

I'm actually worried about this now.  Does anyone know of any
potential solutions?  Anything to at least get me started?


More information about the Python-list mailing list