How to automate user input at the command prompt?
Méta-MCI
enleverlesX.XmcX at XmclaveauX.com
Sat Jul 22 09:24:27 EDT 2006
Hi!
>>> There are typically only two output streams from a command line program.
>>> stdout and stderr... Some of the OS triggered error messages
(abort, retry, fail) might be going to stderr -- so if you were looking at
stdout, you won't see them.
- when you use RD TOTO/S , win show the text "Are-you sure (Y/N)?" on
stdout, and no stderr
- when the text is send, by win, on stdout, there are no RC ; consequently,
subprocess (or popen) don't see anything
- it's possible, with popen4, with subprocess, to merge stdout & stderr in
the same pipe
The problem remain entire.
@-salutations
--
Michel Claveau
More information about the Python-list
mailing list