This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Redirecting bash stdin
- From: "Buchbinder, Barry \(NIH/NIAID\) [E]" <BBuchbinder at niaid dot nih dot gov>
- To: <cygwin at cygwin dot com>
- Date: Tue, 25 Apr 2006 08:12:25 -0400
- Subject: RE: Redirecting bash stdin
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/