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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding
	:in-reply-to; q=dns; s=default; b=LgxRsP9NqIRiBL6UozaK3BnivFHWmZ
	gFZf0ocApsKfqMV03+HrhjAz1KA8VPT0iMxudY6Z+wRh3ztn9Sdz39iiRIgrN5ZP
	bgwYun5HPE4183PsZVShrvuLfxTG/BY/pnRMQwLxlDTIpllYeebmqCoxPKT+U0XC
	mNjfHdlKM+Ndg=
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:to:from:subject:date:message-id:references
	:mime-version:content-type:content-transfer-encoding
	:in-reply-to; s=default; bh=HzGsAcNr2xVe3dCsM0/TWy8JIyo=; b=VeW7
	QvbNAffFX7Omr8T0Zasz+pN8MgHD7eYBvXvB/YWbS30kAUaVOVfxEOW19GrPFSPz
	QQ4QS04CBbNIu5EbigW7n3yvn3G8uxYDwA/6HjlqRLbtVJy/d8pFaGu49Vz2s/wu
	qfRrelVJLIh6WRgb+a26mDj8wWwyVCohJQwZvkU=
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-Spam-SWARE-Status: No, score=1.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*UA:x64, H*UA:Win64, H*u:x64, H*u:Win64
X-HELO: blaine.gmane.org
To: cygwin@cygwin.com
From: Franz Fehringer <fehrin2@gmail.com>
Subject: Re: antrun versus wsl versus cygwin
Date: Mon, 18 Feb 2019 08:15:59 +0100
Message-ID: <q4dm3e$371v$1@blaine.gmane.org>
References: <q4bfgv$2i9q$1@blaine.gmane.org> <d20bcd0d12f4b318e7c45268e9b78ca9@smtp-cloud8.xs4all.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
Openpgp: preference=signencrypt
In-Reply-To: <d20bcd0d12f4b318e7c45268e9b78ca9@smtp-cloud8.xs4all.net>
X-IsSubscribed: yes

Am 17.02.2019 um 16:07 schrieb Houder:
> On Sun, 17 Feb 2019 12:11:28, Franz Fehringer  wrote:
>> Hi all (half off topic),
> 
> Not a Cygwin topic at all, I am guessing ...
> 
>> I have installed (on a Windows 10 1809 system) both Cygwin and WSL (only
>> the Windows component, no real Linux distribution yet).
>> This scenario gives me a strange problem with antrun: With <exec
>> executable="bash"> i always get the WSL bash instead of the Cygwin one,
>> although Cygwin is first in PATH (both Cygwin PATH and Windows PATH),
>> even so if C:/Windows/System32 (location of WSL bash) is not in the
> 
> ? "executable not in PATH", however it is found?
> 
> What is the value of PATH according to antrun? (is this ant ?????)
> 
>     https://stackoverflow.com/questions/5607580/how-to-set-the-path-environment-variable-from-ant-script
>     (How to set the path environment variable from ant script)
> 
>     https://ant.apache.org/manual/Tasks/exec.html
> 
>> (Cygwin) PATH at all.
>> I made some tries with extra parameters like seachpath to no avail.
>> It (naturally) works if i give the full absolute path to the Cyhwin
>> bash, but this is awkward.
>> Any hints about reason and solution?
> 
> Henri
> 
> 

The configuration was: No system32 in the Cygwin PATH (from were maven /
antrun / ant was started) and Cygwin bin before Windows system32 in the
Windows (DOS) PATH.



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

