X-Spam-Check-By: sourceware.org Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" 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]" To: X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Unsubscribe: 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 Content-Transfer-Encoding: 8bit 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 >>> . >> >> 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/