I want to catch the output of a program but I can not use redirect because it's interactive and thus I need to see the output on the screen.

So I use popen2() to execute it and then both print the output on the screen and in a log file.
But when I want to write something command to it, it seems that the program can not get it.

I'm working on windows XP

--
那不是缺陷 只是你不在梦中
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to