From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 92933 invoked by alias); 17 Feb 2019 15:08:00 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 92916 invoked by uid 89); 17 Feb 2019 15:07:59 -0000 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 Received: from lb3-smtp-cloud8.xs4all.net (HELO lb3-smtp-cloud8.xs4all.net) (194.109.24.29) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 17 Feb 2019 15:07:56 +0000 Received: from tmp.2LDpBub7QD ([83.162.234.136]) by smtp-cloud8.xs4all.net with ESMTPSA id vO2ngUjet4HFnvO2ogx6eN; Sun, 17 Feb 2019 16:07:52 +0100 Date: Sun, 17 Feb 2019 15:35:00 -0000 Message-ID: From: Houder Reply-To: cygwin@cygwin.com To: cygwin@cygwin.com Subject: Re: antrun versus wsl versus cygwin References: In-Reply-to: Content-Type: text/plain; charset=UTF-8; format=fixed User-Agent: mua.awk 0.99 X-SW-Source: 2019-02/txt/msg00246.txt.bz2 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 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