This is the mail archive of the
cygwin
mailing list for the Cygwin project.
simulating console input
- From: Peter MÃnster <pmlists at free dot fr>
- To: Cygwin List <cygwin at cygwin dot com>
- Date: Thu, 2 Sep 2010 09:47:03 +0200
- Subject: simulating console input
Hello,
I would like to run a Dos program, that needs keyboard input (just one "Y"),
automatically via "make" in an ssh-session.
How could I simulate the "Y" keypress?
"echo Y | DosProgram.exe" does not work...
The keypress is accepted only in a dos-console.
TIA for any help!
Peter
--
Contact information: http://pmrb.free.fr/contact/
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple