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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Sam Steingold Subject: Re: subprocess i/o interaction with shell (bash&cmd): shells compete for input with user program! Date: 22 Jul 2003 18:12:53 -0400 Organization: disorganization Lines: 20 Message-ID: References: <20030722145702 DOT GA17342 AT redhat DOT com> <20030722172316 DOT GC17916 AT redhat DOT com> <20030722212705 DOT GA26210 AT redhat DOT com> Reply-To: sds AT gnu DOT org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet AT main DOT gmane DOT org X-Attribution: Sam X-Disclaimer: You should not expect anyone to agree with me. User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 > * In message <20030722212705 DOT GA26210 AT redhat DOT com> > * On the subject of "Re: subprocess i/o interaction with shell (bash&cmd): shells compete for input with user program!" > * Sent on Tue, 22 Jul 2003 17:27:05 -0400 > * Honorable Christopher Faylor writes: > > If the exec paradigm in cygwin was really broken, the mailing list > would be filled with people complaining about that fact. my fault (gcc does not define UNIX, I should have been more careful, sorry) OK, so -- how do I implement execv() ? winsup/src/winsup/cygwin/spawn.cc:spawn_guts() is, apparently, the place to look at, but it is so hairy ... -- Sam Steingold (http://www.podval.org/~sds) running w2k What garlic is to food, insanity is to art. -- 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/