delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2019/02/17/10:08:10

X-Recipient: archive-cygwin AT delorie DOT 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:date:message-id:from:reply-to:to:subject
:references:in-reply-to:content-type; q=dns; s=default; b=RwlJr0
gGtPbAtiYp16w5ZwSzIXvjNAca5UrakVaUXyvrnWSgEB8Ob5SQ3vV8vYczJHO1G8
/fR7FW20VeXgAvDTGUd2mUYZJddg/3RFKCH2fvV1yK+zPfpx5eEluEeLOKX04AMj
DcOOJ7IwjeTj46K7joyRHSY2QrykvEgAUgd70=
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:date:message-id:from:reply-to:to:subject
:references:in-reply-to:content-type; s=default; bh=H1xhIA2i2SfX
nlcif+mWmvGpsC4=; b=N8LFiILB2FL6MztGaNI9P4RLaaD6mQnXPLbBUdqHfj/s
e7Ix3foMy9vWOiGbMRAQapZe2G1R6Sg4/NTctfLLDnkgToXrwSchnGNNh7HOJVZ+
qshMWDbzGfTwO0pAyxa/GPJkqDzFvnDWCLh4Dk16FnpDX0L9X1/gBcPOKO+DoZ0=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-0.7 required=5.0 tests=BAYES_20,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=antrun, Fehringer, fehringer, Franz
X-HELO: lb3-smtp-cloud8.xs4all.net
Date: Sun, 17 Feb 2019 16:07:52 +0100
Message-ID: <d20bcd0d12f4b318e7c45268e9b78ca9@smtp-cloud8.xs4all.net>
From: Houder <houder AT xs4all DOT nl>
Reply-To: cygwin AT cygwin DOT com
To: cygwin AT cygwin DOT com
Subject: Re: antrun versus wsl versus cygwin
References: <q4bfgv$2i9q$1 AT blaine DOT gmane DOT org>
In-Reply-to: <q4bfgv$2i9q$1@blaine.gmane.org>
User-Agent: mua.awk 0.99

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


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

- Raw text -


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