simulating console input
Eric Blake
eblake@redhat.com
Thu Sep 2 21:19:00 GMT 2010
On 09/02/2010 03:17 PM, RISINGP1@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 eblake@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
More information about the Cygwin
mailing list