Redirect DOS command output

daryl_stultz at my-deja.com daryl_stultz at my-deja.com
Thu Feb 10 12:08:29 EST 2000


Hey, I'm using os.system() to execute a DOS command (on an NT machine).
I would like to capture (and parse) the output from the command. I'm
familiar with sys.stout but I'm not sure how to do this.

Thanks for the help.


Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list