X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:references:message-id:date:from:reply-to
	:subject:to:in-reply-to:mime-version:content-type; q=dns; s=
	default; b=bxUyCLwepCWTEW9aCJwgcrBeUDngYXgy+/LmnLw4JD7U2yyn1G9iM
	BA4CSTr1k2NP/QZ9Ll3e2NEI4dlh0OaGJpF6irKrxrMTFJ++AHWfQDSWsOCQF+Ak
	Y6tzKKT5Hl+4ocNPMJic7B91M6pGq72pdR73fL4NNe3bmntr8vWqAM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:references:message-id:date:from:reply-to
	:subject:to:in-reply-to:mime-version:content-type; s=default;
	 bh=6TLD58m2zlCmRAl599tqsmoBfeM=; b=gzmEsGdybYvqysQQp0tcErlHYNAv
	Xdh2I3v7HijT0UhtXC606QS7eqeeDh1Pd2aUgfCkwNugyd+I7E5yfGTOK3inAdT5
	7JgkpZm7PgspHv64UEDmcajAaCr3IL2e4MS+Yk/eEpX/nbsbJlxXsaPqAMSQ1mbw
	2zVev0XAcxm/144=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-0.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,FREEMAIL_REPLYTO_END_DIGIT,RCVD_IN_DNSWL_NONE,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2
X-HELO: nm40-vm10.bullet.mail.gq1.yahoo.com
References: <1414155946.62587.YahooMailNeo@web162803.mail.bf1.yahoo.com> <20141024135339.GM20607@calimero.vinschen.de> <1414163944.58941.YahooMailNeo@web162803.mail.bf1.yahoo.com> <544A6FB4.5070004@redhat.com>
Message-ID: <1414168852.48564.YahooMailNeo@web162802.mail.bf1.yahoo.com>
Date: Fri, 24 Oct 2014 09:40:52 -0700
From: John Wiersba <jrw32982@yahoo.com>
Reply-To: John Wiersba <jrw32982@yahoo.com>
Subject: Re: Why can't run.exe execute a shebang script directly?
To: Eric Blake <eblake@redhat.com>, "cygwin@cygwin.com" <cygwin@cygwin.com>
In-Reply-To: <544A6FB4.5070004@redhat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-IsSubscribed: yes

> From: Eric Blake <eblake@redhat.com>

> On 10/24/2014 09:19 AM, John Wiersba wrote:
>
>>  I thought that all (or virtually all) cygwin-supplied programs that start 
>>  other programs use the cygwin1.dll execve(2) emulation to start them, 
> because 
>>  the execve emulation can be used to start *both* cygwin programs and 
> windows 
>>  native programs.  Or at least it seems that way to me.
>> 
>>  Is there be in drawback to having run.exe start its target program using
>>  the execve emulation in cygwin1.dll, rather than using a Windows call to
>>  start the target executable?
> 
> run.exe is special.  In order to hide consoles, it MUST use native
> windows API instead of cygwin1.dll calls.

OK -- I guess that settles it, then!  Thanks!


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

