www.delorie.com/archives/browse.cgi | search |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
Subject: | RE: Redirecting bash stdin |
Date: | Tue, 25 Apr 2006 08:12:25 -0400 |
Message-ID: | <31DDB7BE4BF41D4888D41709C476B657041687CB@NIHCESMLBX5.nih.gov> |
In-Reply-To: | <444D2C01.5080602@gmail.com> |
From: | "Buchbinder, Barry \(NIH/NIAID\) [E]" <BBuchbinder AT niaid DOT nih DOT gov> |
To: | <cygwin AT cygwin DOT com> |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id k3PCCcqB008270 |
Dave wrote: > Eric Blake wrote: >> 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? > > I'm aware of the -c flag. I may use it if I'm convinced the pipe > won't work, but really I'm trying to avoid creating lots of "bash -l" > instances. Have you tried piping into "bash -s"? Probably won't be any different than the other piping you've tried, but maybe it will. - Barry Disclaimer: Statements made herein are not made on behalf of NIAID. -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |