managing stdout and stderr neatly while doing parallel processing
Alex Martelli
aleax at aleax.it
Wed Aug 6 07:25:32 EDT 2003
Grant Edwards wrote:
...
> 3) use a pseudo-terminal (pty) so that your child process is running in a
> more "natural" environment, and you'll get both stderr and stdout that
> way too. Don't know if there's handy Python "pty" module or not...
Well, there's http://www.python.org/doc/current/lib/module-pty.html , but
I'm not sure if it counts as "handy"?
Alex
More information about the Python-list
mailing list