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=ffxgDabZSLENoKwN 3MLXHPp9Yqf7znslUi5kDlVzKRYH8FSx9aY6FEDVupxiV7hbs0ydnpM/eOobxS0s Cr511RWOcZxAWuAyuQaXNZ5VdNHtzykkWra2L/jubesBM2r4AEFSfnp1NQHlQ8ws ww2pQSJfTjtue6yQ3aucBTii/E8= 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=cX8CIr+Jt2EhjlmpE1Gtbf GWMck=; b=FZmvu47oWfRKmKSAoemlVs2r792SwoSOncNcMI1OjUDKaA1jEigYLc RLVWpt42yO9cp6ej4ntbaNwPrxpjU8x3FBVrNqmdgj5/n3tOHK1fb7eO0yCbIrPG qgWoCPgQEhB4jeL1/y7lYTcJPLIM/fKcYB1/8wXEPchF3IEYkCxJk= 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.9 required=5.0 tests=BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2 spammy=tries, 17022019, half X-HELO: mout.kundenserver.de Subject: Re: antrun versus wsl versus cygwin To: cygwin AT cygwin DOT com References: From: Thomas Wolff Message-ID: <01f0b400-b44b-85a7-14bc-6ca4189481c6@towo.net> Date: Sun, 17 Feb 2019 13:53:21 +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: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 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... -- 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