X-Spam-Check-By: sourceware.org Message-ID: <444A264D.5050100@byu.net> Date: Sat, 22 Apr 2006 06:49:17 -0600 From: Eric Blake User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: Redirecting bash stdin References: <44491A56 DOT 8030809 AT gmail DOT com> In-Reply-To: <44491A56.8030809@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 > . 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 AT byu DOT 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/