delorie.com/archives/browse.cgi | search |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=hZbLN50r9FA7Uqgb | |
+WZBzk8KH26gLv5bR5DwLNEFCFRwW9jLwrunvdUvCLmjuet89yEWxTf8BoVFDAqv | |
FxdtA/rIg7H8RX2FwABAt6OCE4NF1E/bBNyHGKKErs8jy1aw37QRFcG7Bkvrh7eA | |
oImEU/miTZzG0u19VgzKSaAkiSE= | |
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:subject:to:references:from:message-id:date | |
:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=8e7UORhnbqhlGxodqJ4r7a | |
oOyKM=; b=uNRbfO3vdRD/riPAGJt46fKO22QPWq7t+ec3xI2Z5WUHcZJzWk1C5M | |
Bi51K0JIKjT9tS229GKKBMget8gq5XSTRiaTVdCPr9qT1R0Il84s960Uul+Yt4jK | |
XE/k+rm9lJBaSQE9AL7tatVmRiW+W+pNcArYKf6bEsbL5OMWbxQUg= | |
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.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=half |
X-HELO: | mout.kundenserver.de |
Subject: | Re: antrun versus wsl versus cygwin |
To: | cygwin AT cygwin DOT com |
References: | <q4bfgv$2i9q$1 AT blaine DOT gmane DOT org> <01f0b400-b44b-85a7-14bc-6ca4189481c6 AT towo DOT net> <7adb0a4e-2cf5-0ad8-d479-4fdd509cebf3 AT gmail DOT com> |
From: | Thomas Wolff <towo AT towo DOT net> |
Message-ID: | <2c1560b2-511f-7c2c-3da5-4f4587edbc47@towo.net> |
Date: | Mon, 18 Feb 2019 21:52:49 +0100 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <7adb0a4e-2cf5-0ad8-d479-4fdd509cebf3@gmail.com> |
X-IsSubscribed: | yes |
Am 17.02.2019 um 14:39 schrieb Franz Fehringer: > Am 17.02.2019 um 13:53 schrieb Thomas Wolff: >> Am 17.02.2019 um 12:11 schrieb Franz Fehringer: >>> Hi all (half off topic), >>> >>> 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 >>> (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? >> No, just about some diagnostics (maybe your application does not see the >> extended PATH?): on a Windows cmd line, say `where bash` to see if it's >> really available... >> > I am not sure if i understand this correctly, but > > Windows cmd: > > C:\Users\feh01589>where bash > C:\Tools\Cygwin\bin\bash.exe > C:\Windows\System32\bash.exe > > ... Try to set up a test that reproduces the original environment closely: start a cmd.exe from your application, just as you're trying to start bash. Possibly the application manipulates the path before starting an external command. From that (cmd started from your, whatever, ant), rerun where bash -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |