Question: spawn and redirection

Peter Hansen peter at engcorp.com
Fri Feb 13 10:24:52 EST 2004


"Ladvánszky Károly" wrote:
> 
> On Windows, what is the proper way to spawn an executable and redirect its
> stdout and stderr.

Redirect them where?  The answer might well be different (e.g. os.system vs.
os.popen) if you are redirecting them to a file versus redirecting them back
to the calling program.

-Peter



More information about the Python-list mailing list