dos promt simulation

I.C. theivo at abv.bg
Sat Apr 13 08:35:07 EDT 2002


Hello,
I would like to simulate a simple dos prompt using a Tk window. I use
os.popen(command) to run some commands like 'echo', 'dir' etc... Then
I read from the pipe and it works, but if I try to execute a command
like 'time', which expects input, I can't read from the pipe. Is it
possible to simulate such commands, without passing some
parameters('time 22:10')?

Thank you for the help !!!

Ivo



More information about the Python-list mailing list