This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: subprocess i/o interaction with shell (bash&cmd): shells compete for input with user program!


On Tue, Jul 22, 2003 at 12:23:18PM -0400, Sam Steingold wrote:
>> Under cygwin you'd accomplish this by having the parent process use
>> one of the "exec" calls.
>
>nope.  doesn't work either.
>I get the same "input competition" when I use exec().

If you are using fork/exec, then sure, you'll get that.  If you use
just exec, then cygwin should do the right thing.

cgf

--
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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]