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: List-Subscribe: List-Archive: List-Post: List-Help: , 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: From: Houder Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT 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 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