redirecting output from spawned processes
Jef Mangelschots
jef.mangelschots at iname.com
Fri Nov 15 13:36:04 EST 2002
How do I redirect the output of 'someapp' to the file log_file ?
log_file = 'c:\output.log'
os.spawnv(os.P_WAIT, 'some_app', 'p1', 'p2')
More information about the Python-list
mailing list