How to automate user input at the command prompt?
Méta-MCI
enleverlesX.XmcX at XmclaveauX.com
Fri Jul 21 19:16:36 EDT 2006
Hi!
I had try with pipes & subprocess. Unfortunaly, when dos-commandline show a
text who question for Yes/No, this text is not available in subprocess/pipe
; => and block!
And then, I can't send "Y" to the stdin...
I test with:
MD TOTO
RD TOTO/S
(I know, RD TOTO/S/Q run Ok, but I search another solution).
*sorry for my bad english*
Michel Claveau
More information about the Python-list
mailing list