www.delorie.com/archives/browse.cgi | search |
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:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding | |
:in-reply-to; q=dns; s=default; b=W7uCy8NbtPkIh7que0agN/CWkQa217 | |
6WXlCJtFfvZTraULVZ4jw0+TiW7tdjSAglKflM5gfzbZpy+IlUU1raiJK6XpZ7KB | |
GTQykQU0i7v+cS6UVfaW61sEaLaRRxgcl5UVsLFSXI+iCHU749V6j68SNLAja6hf | |
0+sSGDqxnYd6g= | |
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:to:from:subject:date:message-id:references | |
:mime-version:content-type:content-transfer-encoding | |
:in-reply-to; s=default; bh=ZZAsVfQt60x5jVBYSaBPtxM52AM=; b=eMVW | |
Mt+gZPec4SyFCx7ZO9a/4rHg01R7anrICLNUbV/3GHH9AK1NvIDntlr6SexEXWdA | |
kM5BNZLu0/mBDH43SQ7gbI92VtoygCDfY3EynVC9/Dq5lJoTDbqRC0yRAwbms6x1 | |
2pl062acarbq5i8OPjPU9HmRgijNiuHXPTOPKcc= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
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=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 |
To: | cygwin AT cygwin DOT com |
From: | Franz Fehringer <fehrin2 AT gmail DOT com> |
Subject: | Re: antrun versus wsl versus cygwin |
Date: | Mon, 18 Feb 2019 13:15:02 +0100 |
Message-ID: | <q4e7k5$5mhm$1@blaine.gmane.org> |
References: | <q4bfgv$2i9q$1 AT blaine DOT gmane DOT org> <0f26a1aa-7c70-5201-5212-5f3df54a50fa AT gmail DOT com> <q4cm4s$1g33$1 AT blaine DOT gmane DOT org> <1968849310 DOT 20190218020001 AT yandex DOT ru> <q4dtmk$5gpb$1 AT blaine DOT gmane DOT org> <dcaadf0982c8bbdf27cb7f1301889c9f AT smtp-cloud8 DOT xs4all DOT net> |
Mime-Version: | 1.0 |
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: | <dcaadf0982c8bbdf27cb7f1301889c9f@smtp-cloud8.xs4all.net> |
X-IsSubscribed: | yes |
Am 18.02.2019 um 11:42 schrieb Houder: > On Mon, 18 Feb 2019 10:25:42, Franz Fehringer wrote: > > <echo message="XXX: ${env.PATH}"/> 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 > > <exec executable="C:\Tools\Cygwin\bin\which" failonerror="true"> <arg line="bash" /> </exec> <exec executable="bash" failonerror="true"> <arg line="-c src/main/resources/build" /> </exec> 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 <exec> 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |