From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 88379 invoked by alias); 17 Feb 2019 13:39:38 -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 88368 invoked by uid 89); 17 Feb 2019 13:39:37 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=BAYES_20,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=nicht, H*UA:Win64, H*UA:x64, antrun X-HELO: mail-wr1-f53.google.com Received: from mail-wr1-f53.google.com (HELO mail-wr1-f53.google.com) (209.85.221.53) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 17 Feb 2019 13:39:36 +0000 Received: by mail-wr1-f53.google.com with SMTP id v13so15323212wrw.5 for ; Sun, 17 Feb 2019 05:39:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=from:subject:to:references:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding; bh=CfQcydUHlkBsQitKbU5y6glv+AUq2eHiz5wTMJ8Cc/E=; b=asRPd5MLSJSYisEJCzy81HgDRno6QNgDNyVXriYJ7z7uKNi9GIc0K75ntZFwaJb+Gk GXJDWxl5G3/ZOsP9rRSRgHscKYPYMqrOdE/UYpjPevD7BrNilkN0YUgfuYjFa3zmEAQb dPSw2/2oW43NSw8j8ncShlmpOrENucGD2Yg1jBK6LvsA5VGyPbyl3BrURwlFWAX1+kBz Dk8W3JAsf7tYOGN+8hRVx07596lvv2WAWgebYbm/xVxab9Zw4Ea+nvtrOvtumD7bYR/y u9OJMXeGtKhuwAQJ3ea+B6XayNJHSWtCgfNFeguWVu1TFJE2Uf4bTCLQh8zVdUzZ6vnR 2nUA== Return-Path: Received: from ?IPv6:2a02:810d:45c0:5b7c:a4f3:9381:ca41:be3b? ([2a02:810d:45c0:5b7c:a4f3:9381:ca41:be3b]) by smtp.googlemail.com with ESMTPSA id h13sm16479929wrs.42.2019.02.17.05.39.33 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 17 Feb 2019 05:39:33 -0800 (PST) From: Franz Fehringer Subject: Re: antrun versus wsl versus cygwin To: cygwin@cygwin.com References: <01f0b400-b44b-85a7-14bc-6ca4189481c6@towo.net> Openpgp: preference=signencrypt Message-ID: <7adb0a4e-2cf5-0ad8-d479-4fdd509cebf3@gmail.com> Date: Sun, 17 Feb 2019 14:14:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 MIME-Version: 1.0 In-Reply-To: <01f0b400-b44b-85a7-14bc-6ca4189481c6@towo.net> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-SW-Source: 2019-02/txt/msg00241.txt.bz2 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 > 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 C:\Users\feh01589>`where bash` '`where' is not recognized as an internal or external command, operable program or batch file Cygwin bash: FEH01589@MU-N-566 ~ $ where bash C:\Tools\Cygwin\bin\bash.exe C:\Windows\System32\bash.exe FEH01589@MU-N-566 ~ $ `where bash` -bash: C:\Tools\Cygwin\bin\bash.exe: Kommando nicht gefunden. where is only available as a Windows executable (not a Cygwin one). -- 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