This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Redirecting bash stdin
- From: Eric Blake <ebb9 at byu dot net>
- To: cygwin at cygwin dot com
- Date: Sat, 22 Apr 2006 06:49:17 -0600
- Subject: Re: Redirecting bash stdin
- References: <44491A56.8030809@gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
According to Dave on 4/21/2006 11:45 AM:
> I'm trying to get a mingw GUI application to pipe commands to cygwins
> bash by redirecting its stdin as described here
> <http://support.microsoft.com/?id=190351>.
Why not just spawn bash with command line arguments, and use the -c flag
to pass the commands as arguments rather than on stdin?
> Does anyone know what I can do to get bash to respond promptly? Or will
> this approach not work with bash?
It might not be bash's fault, but a general limitation of how cygwin
handles pipes from non-cygwin processes. A simple test case is a
necessity if you expect help debugging this.
> GNU bash, version 3.00.16(14)-release (i686-pc-cygwin)
What about upgrading to bash 3.1, now that bash-3.1-5 is the current version?
- --
Life is short - so eat dessert first!
Eric Blake ebb9@byu.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD4DBQFESiZN84KuGfSFAYARApHkAKCHzsTH1EDrBD9cG83vPNNVWSYXSgCY0OpX
95Is5eU0yj3h3C/qhbGXCA==
=0I5l
-----END PGP SIGNATURE-----
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/