From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 62670 invoked by alias); 18 Feb 2019 09:14:27 -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 62370 invoked by uid 89); 18 Feb 2019 09:14:27 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=1.4 required=5.0 tests=BAYES_00,FORGED_MUA_MOZILLA,FREEMAIL_FROM,KAM_LAZY_DOMAIN_SECURITY autolearn=no version=3.3.2 spammy=H*UA:x64, H*UA:Win64, H*u:x64, H*u:Win64 X-HELO: blaine.gmane.org Received: from Unknown (HELO blaine.gmane.org) (195.159.176.226) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 18 Feb 2019 09:14:26 +0000 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gvf0E-000WEV-77 for cygwin@cygwin.com; Mon, 18 Feb 2019 10:14:18 +0100 To: cygwin@cygwin.com From: Franz Fehringer Subject: Re: antrun versus wsl versus cygwin Date: Mon, 18 Feb 2019 09:25:00 -0000 Message-ID: References: <6bc8cc1f-0535-9a41-0d6a-4c121e6d7955@gmail.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="nAZjjMLK63CDmt1TwJ5GVtbkQAL4s5Y3a" User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0 Openpgp: preference=signencrypt In-Reply-To: <6bc8cc1f-0535-9a41-0d6a-4c121e6d7955@gmail.com> X-IsSubscribed: yes X-SW-Source: 2019-02/txt/msg00269.txt.bz2 --nAZjjMLK63CDmt1TwJ5GVtbkQAL4s5Y3a Content-Type: multipart/mixed; boundary="4LlY632OqJ3bo5uCt2hR5fqn9hd0Q78ps"; protected-headers="v1" From: Franz Fehringer Newsgroups: gmane.os.cygwin Subject: Re: antrun versus wsl versus cygwin References: <6bc8cc1f-0535-9a41-0d6a-4c121e6d7955@gmail.com> In-Reply-To: <6bc8cc1f-0535-9a41-0d6a-4c121e6d7955@gmail.com> --4LlY632OqJ3bo5uCt2hR5fqn9hd0Q78ps Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-length: 1187 Am 17.02.2019 um 15:14 schrieb LRN: > On 17.02.2019 14:11, Franz Fehringer wrote: >> 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=3D"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. >=20 > Tried looking in > "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths" > , > "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\App Paths" > and > "HKEY_CLASSES_ROOT\Applications\" > ? They might have bash.exe in them. Also, what happens if you create a sy= mlink > mybash.exe, that points to cygwin bash.exe? Would mybash.exe invoke the r= ight bash? >=20 There are no bash matches at the registry locations given. antrun can execute Cygwin bash without problems (i temporally moved wsl bash.exe to wslbash.exe), but it finds wsl bash before Cyhwin bash regardless of PATH settings. --4LlY632OqJ3bo5uCt2hR5fqn9hd0Q78ps-- --nAZjjMLK63CDmt1TwJ5GVtbkQAL4s5Y3a Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 819 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJcandmAAoJECvloiiFUsQ+W1wP/38S6dw0S0dZkdo3DYndY1/w lJMIySCfKvf3cRC6ak4R5k1aPw4Cpj9Jy4UF52N9KniBYF/VZHU2xYN+Aa+ymKYh Pz8MX/4UniNDJ6Gn6K0BoMotL1r8vOv503bpFO+i4+geMg48N6r8iBDEwqajhv6N gYIrX9u/8XtdBGirYJn+WW34tYMBXFC7k2FgoL9QOMhhCVdnCw+mOkfb1iCvr7Pt 6zjfkGd08Q6xZicHDCnKiDxp1PUvjnfYgdn6A8HV9+DefRMz9d7UMwUb4WuBokVZ BKjT/ZXe5l274eNwCA9ymGh4DoCyqjdIdljAdEIY2t7zBPdnotflUfcJDiGBIzXv 7KMBlwPdzUq3vFimtYYLopDb59YsG+tZshhlmts+XHU8GihmS3W7UfCTTie2+Z3+ +8qhrAunPU9PZ0Hp09TdKLalih+Rk3Nbbv91hR7qmZ4bIhM53qBmMmxfgOG4i9L3 lfTMqwOoWtVKtWQT4To1A5sicNafrM84cMvPjc9dzaI8Co7U74EbbNzTQDkxGcV7 9YNYCdGlvkcjMMGdnXrqL4GXElXg3L4kYDgQVBQn6dwAxMUxXAgj6h4rJmf1di9l BWasblVDwHK1jxxM0e1guLZd4/okkPVFNWCa1wx95YBM/F765uZoHk9XSx64UB+h 9ED8Ynbgj8Dk53gsbm3Z =l93A -----END PGP SIGNATURE----- --nAZjjMLK63CDmt1TwJ5GVtbkQAL4s5Y3a--