From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 71207 invoked by alias); 18 Feb 2019 12:15:41 -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 70389 invoked by uid 89); 18 Feb 2019 12:15:21 -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 12:15:19 +0000 Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1gvhpE-000mmE-AZ for cygwin@cygwin.com; Mon, 18 Feb 2019 13:15:08 +0100 To: cygwin@cygwin.com From: Franz Fehringer Subject: Re: antrun versus wsl versus cygwin Date: Mon, 18 Feb 2019 12:59:00 -0000 Message-ID: References: <0f26a1aa-7c70-5201-5212-5f3df54a50fa@gmail.com> <1968849310.20190218020001@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit 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: X-IsSubscribed: yes X-SW-Source: 2019-02/txt/msg00282.txt.bz2 Am 18.02.2019 um 11:42 schrieb Houder: > On Mon, 18 Feb 2019 10:25:42, Franz Fehringer wrote: > > in the antrun block gives > > C:\Projekte\dev\bin\gmake41;\ > C:\Tools\VisualStudio\2017\VC\Tools\MSVC\14.16.27023\bin\HostX64\x64;\ > C:\Tools\VisualStudio\2017\VC\VCPackages;\ > C:\Tools\VisualStudio\2017\MSBuild\15.0\bin\Roslyn;\ > C:\Tools\VisualStudio\SDK\10\bin\10.0.17763.0\x64;\ > C:\Tools\VisualStudio\SDK\10\bin\x64;\ > C:\Tools\VisualStudio\2017\MSBuild\15.0\bin;\ > C:\Tools\VisualStudio\2017\Common7\IDE;\ > C:\Tools\VisualStudio\2017\Common7\Tools;\ > C:\Windows\Microsoft.NET\Framework64\v4.0.30319;\ > C:\Tools\Perl\site\bin;\ > C:\Tools\Perl\bin;\ > C:\Tools\Cygwin\usr\local\bin;\ > C:\Tools\Cygwin\bin;\ > C:\Tools\apache-maven-3.6.0\bin;\ > C:\Tools\apache-ant-1.10.5\bin;\ > C:\winapp\openjdk\java-1.8.0-openjdk-1.8.0.191.x86_64\bin;\ > C:\Tools\Depends64;\ > C:\Tools\IBM\DB2\BIN;\ > C:\Tools\IBM\DB2\FUNCTION;\ > C:\Programs\ibm\gsk8\lib64;\ > C:\Windows\System32\wbem;\ > C:\Windows\System32;\ > C:\Windows;\ > .;\ > C:\Projekte\dev\bin;\ > C:\Projekte\dev\bin\userscripts;\ > C:\Projekte\dev\LF4\LF19.1.0\utils;\ > C:\dev\LF4\LF19.1.0\src\lfjee\lf-lc\ipl-core-lc\ipl-core-lc-sc\ipl-core-lc-sc-server\target\tbfserver\lib\cpp > > Now show us the output of an antrun script, where the executable > is C:\Tools\Cygwin\bin\which and its argument: bash > > Henri > > gives [exec] /usr/bin/bash [exec] W i n d o w s S u b s y s t e m f o r L i n u x h a s n o i n s t a l l e d d i s t r i b u ti o n s . [exec] D i s t r i b u t i o n s c a n b e i n s t a l l e d b y v i s i t i n g t h e M i c r o s o f t S t o r e : [exec] h t t p s : / / a k a . m s / w s l s t o r e It is as if C:\Windows\System32 were hardcoded somewhere The ant exec documentation says "The task delegates to Runtime.exec which in turn apparently calls ::CreateProcess. It is the latter Win32 function that defines the exact semantics of the call. " -- 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