delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/04/24/03:55:40

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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=Da5clszGhVD/dC85JoCwBPXM4c0rgjAQogXSS/2v9N4e8LNpZoU6e
qCcAc/ibpUe2WUd63tDtP6C9aYicf7WUyEP5EqnL0ni6AFiAK8NDW6+H0Q/jbqRf
EqBXEJnwgymrmEz44VQkqUuoBBcRM7jTqBPZZfQi8ER7HXHdyuRAkE=
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:date:from:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=Ytlmrw7+wtBA1EsE2+M/zHs6GX8=; b=qdG37rQ/OHnc3PGSWwpOizs/tKBS
IvRVpi9bhM8PxSy5Qluy5xzCZLVBKxy0Zl6i8PYz1Nf6oZdVEg2UbFJ9sBv8uqU4
vaVwBkhKRllsnvAzZfWtUne/+5F6lhQ5EYG5dWqPyEI5s3AQqxBnpW9rMGu29Aos
C+Inml6cqMcBYGY=
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-Virus-Found: No
X-Spam-SWARE-Status: No, score=-101.6 required=5.0 tests=AWL,BAYES_00,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 spammy=
X-HELO: mout.kundenserver.de
Date: Tue, 24 Apr 2018 09:50:07 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Fails to launch batch script in some directories
Message-ID: <20180424075007.GD15911@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <Alexpux/MSYS2-packages/issues/1225 AT github DOT com> <76873039-f459-5534-ce8a-bb8fcbd35274 AT gmail DOT com> <20180420131111 DOT GS15911 AT calimero DOT vinschen DOT de> <2325202b-1fb7-dbc9-9738-8934d3949fcb AT SystematicSw DOT ab DOT ca> <71792648-0698-e407-ac67-244ddab446b3 AT gmail DOT com> <20180423084451 DOT GT15911 AT calimero DOT vinschen DOT de> <4d7ffd56-e849-6c01-e62b-e6bab629b9d6 AT SystematicSw DOT ab DOT ca>
MIME-Version: 1.0
In-Reply-To: <4d7ffd56-e849-6c01-e62b-e6bab629b9d6@SystematicSw.ab.ca>
User-Agent: Mutt/1.9.2 (2017-12-15)
X-UI-Out-Filterresults: notjunk:1;V01:K0:0iqmR0Graok=:NTfmKowpnXqUqfl1aUOgyG Jm3W2IvzK1OoFovrjy6x6N9oSgK1nt4GwiDhnaGlAODC4kXFrXywPhCuHIO1QtWgtUofJcID2 QfFuoeZ+fDdn7458VQvySPh43RRlPt0cgdE1gXmuthiYRjqfpHtbEFeJ2KB79yfIoASWmGG9H 4DXmGUrWdRt94c1jQZshrIhsN/dEaViiSZTGDtCh/VMNrZxqF+XyniHZJ5bIehEnF+tGK3dGU 1zxXtLZUe6+5czPgOf7pc8et5ojJas6+v6bVMPCV64/9bjpFA3Gt2isTuT7bLCBatx0pwpUoL k4lbWnS34rar6/ZB49Jrmsb57yqKLMAMp+oBLnRf62JdYJ/Irf6lINPOcRdnasblKG7eWdFC7 Bi/dL0PDQT/uCOwkrVqpO7lqVyZerP+28T669RJ7paDx3w3JvygmXzO1Kud83iTUQNjt3i7Dy eP2H138UMP1HUpsUHoDkSGKDuQ7zVd0FWb68qTlQ48egBDwgAJCJaAKHA7S52Wj4kI6Ifw8zD xh4KRdQb6+bbjud6UIAzoy1pHqumizKdbOtOZLTxTKui8smimtjAA1QosAU6qpebTKx/TkN5J 7QIf4VQfI7XWoRK+8U/jYgBOQLYIonRGA6tA/AgDKRspxAQLD03gVvlehyuC6V1Z1B8SSlDiJ AfrggjvPv9z5+Lt6LEjWBCl3QSEWtf9aTDHgCThUxw2+Mt2xRGGYVk8wnsUy43WXWZfLQp3qc ZTlklkhhoU0lnsAETVSAcAoorlAZ0nvF4hhKSg==

--YS7t75H5cNTCpbja
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Apr 23 11:20, Brian Inglis wrote:
> On 2018-04-23 02:44, Corinna Vinschen wrote:
> > On Apr 23 08:43, David Macek wrote:
> >> On 21. 4. 2018 17:38, Brian Inglis wrote:
> >>> See my other post in this thread where strace shows @ handling is not=
 involved,
> >>> as the script directory and name are normalized and converted to a wi=
n32 path
> >>> correctly, but child_info_spawn::worker does not appear to quote args=
 with
> >>> spaces (or apostrophes) when building the command line, despite the c=
omment near
> >>> the top of the function.
> >> Do you have a test case for this? In my testing, paths with spaces (li=
ke
> >> 'x y' instead of '@ x') work just fine.
> > Brian has a point though.  It's not a space *in* a filename, it's a
> > *trailing* space.  And that points to the cause of the problem:
>=20
> No trailing space - middle char - the directory name was exactly as in th=
e OP:
> ".../@ x/" - see strace output.

My bad.  When I read the OP I read "@ " as dir name.  I missed the "x".


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--YS7t75H5cNTCpbja
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEoVYPmneWZnwT6kwF9TYGna5ET6AFAlre4a8ACgkQ9TYGna5E
T6BIOxAAgqAzVF9na1V+sNTp8GskUKHv1dqg3HEG3075TFDKhQ4S2SwCy/6NXaSW
7Xr/McKd+pF0PYpx0Lhxmb7ncf5A7YkhRLxMxspgGKSIacJmw+f/HpNM6xBxGFTq
9qv9x9Kk6Uq2fl2PPOMsgCU4SQ/ori7pv2SDyKtxs5SeYC5h9zc0aTIJzttyFcLP
Pet92iID2HesWLQSHFiFoOtKkfcvp2xcMxgXySoHom1erOcizPBgqV1rH+FSGAKe
tCLB8sNKOy9FexuDzT5v66eLBhmBsREiJBVNSoMsF3AiIvypXvfygmq0NHXPkWcl
A/oSPJ4cLGix1yhv23G+P5gDzGd7iv9Ct0sNHhkGgJuFPS/G6HD6vSe5/ljJBAvf
Htz4W0fD6LMM08hoAAecy0kb4o8giTW1NZM2X8bF3g0a9zyPhqiCUug7z2cpcz2b
ssUWItYkf3g60YSusWTUc7Ds3up9Fud4qJCR71VKzUlw9cMUbquICEuLtvgfJMtl
qoswia2yVhH8i7J+v9E9cBiCGH73fX1P+lsaMj43zjUuaiv3ft6w2zWV4yOYJwL8
Xsfctlq3UlmOkiuuvWxY52RsYbqjxw/7x8eVGEn/FeSjKFCjcDnBUp6j5lGt1bAo
3/RUa90dvk3yNFfcFBnKraQYXG1HN2IKH0ziUZx23aHtyW5SSjA=
=+um1
-----END PGP SIGNATURE-----

--YS7t75H5cNTCpbja--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019