Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin@cygwin.com
From: Sam Steingold <sds@gnu.org>
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: <uadb6mcre.fsf@gnu.org>
References: <uadb68wgz.fsf@gnu.org> <20030722145702.GA17342@redhat.com>
 <uvftu7cp5.fsf@gnu.org> <20030722172316.GC17916@redhat.com>
 <ulluqmh01.fsf@gnu.org> <20030722212705.GA26210@redhat.com>
Reply-To: sds@gnu.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: usenet@main.gmane.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.GA26210@redhat.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 <cgf-idd@cygwin.com> 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
<http://www.camera.org> <http://www.iris.org.il> <http://www.memri.org/>
<http://www.mideasttruth.com/> <http://www.palestine-central.com/links.html>
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/

