On 09/02/2010 03:17 PM, risin...@nationwide.com wrote:
How could I simulate the "Y" keypress?

"echo Y | DosProgram.exe" does not work...

Would an inline document work?

DosProgram.exe<<!
Y
!

No. Bash uses a pipe under the hood for here-docs, so it is no different than the already-established non-working 'echo Y | program'.

--
Eric Blake   ebl...@redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

--
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

Reply via email to