delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/07/22/21:24:31

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Tue, 22 Jul 2003 21:24:15 -0400
From: Christopher Faylor <cgf-idd AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: subprocess i/o interaction with shell (bash&cmd): shells compete for input with user program!
Message-ID: <20030723012414.GB3329@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <uadb68wgz DOT fsf AT gnu DOT org> <20030722145702 DOT GA17342 AT redhat DOT com> <uvftu7cp5 DOT fsf AT gnu DOT org> <20030722172316 DOT GC17916 AT redhat DOT com> <ulluqmh01 DOT fsf AT gnu DOT org> <20030722212705 DOT GA26210 AT redhat DOT com> <uadb6mcre DOT fsf AT gnu DOT org>
Mime-Version: 1.0
In-Reply-To: <uadb6mcre.fsf@gnu.org>
User-Agent: Mutt/1.4.1i

On Tue, Jul 22, 2003 at 06:12:53PM -0400, Sam Steingold wrote:
>> * 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 <cgf-idd AT cygwin DOT 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 ...

It is hairy but, unfortunately, this is not the place to go for help
rolling your own execv.  Cygwin already has a nice, functioning execv.
As always, I'd suggest google.
--
Please use the resources at cygwin.com rather than sending personal email.
Special for spam email harvesters: send email to aaaspam AT sourceware DOT org
and be permanently blocked from mailing lists at sources.redhat.com

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019