Capturing stdout from a console process?
samschul at pacbell.net
Thu Dec 14 14:59:03 EST 2000
I am using <os.system("xcopy c:*.* d: /v")> within a python program to
copy files from one directory to another under windows NT. When the
program executes, a new console window is created with the results of
the xcopy command being displayed in the console window. Is their a way
to capture this output by python so I can log error messages?
Sent via Deja.com
More information about the Python-list