getting text from WinXP console

Cappy2112 cappy2112 at gmail.com
Tue Mar 22 13:01:49 EST 2005


>>Popen(args='c:\\WINDOWS\\system32\\command.com'

Don't  launch command.com, try running the actual program you are
interested in in capturing the text for. Although you should be able to
run the command interpreter too- I don't know why that didn't work.

There are several variations of popen, so you may want to explore them
all to see which suits your needs.




More information about the Python-list mailing list