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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; q=dns; s=default; b=jm1jpsFjkdMpkQyR | |
kfTiadTpmzhKhN2Xva870GIZPaoSJxa5p68VMC0QWeJscRcK5Z6Pu8um+qckAyMK | |
A0aOSasrw4gL9Z0MYmPearvqVNWb67smzHFbFNA/e0iXduNGFQKOX3tPMgi0nEiY | |
Pn4t6d0yiD50slvnZA6ODfVTkyk= | |
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:reply-to:subject:to:references:from:message-id | |
:date:mime-version:in-reply-to:content-type | |
:content-transfer-encoding; s=default; bh=huEt5Trh3xix2tB7St/bI6 | |
Q5Pwg=; b=D7WRlBSMOyBwkEtl2XdjXO5EuQ34sv0Gko9UpIVQfBcjizyoqoiyn5 | |
/pEXeDDp9hjUOikY8gvJmuEDVKg295h5M1TtNPx8uUGQOIPu8j+rZkdX15Z8ppMX | |
R7feuxsYtxOICLMGkZCy5tKZL7afgta3V1KLqKyMZMdNW1Cga92Bg= | |
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=-1.8 required=5.0 tests=AWL,BAYES_00,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy= |
X-HELO: | smtp-out-so.shaw.ca |
X-Authority-Analysis: | v=2.3 cv=JOMVTfCb c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=IkcTkHD0fZMA:10 a=YvZw3cjsra2QTJNbgogA:9 a=QEXdDO2ut3YA:10 |
Reply-To: | Brian DOT Inglis AT SystematicSw DOT ab DOT ca |
Subject: | Re: Fails to launch batch script in some directories |
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> |
From: | Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca> |
Message-ID: | <4d7ffd56-e849-6c01-e62b-e6bab629b9d6@SystematicSw.ab.ca> |
Date: | Mon, 23 Apr 2018 11:20:22 -0600 |
User-Agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.7.0 |
MIME-Version: | 1.0 |
In-Reply-To: | <20180423084451.GT15911@calimero.vinschen.de> |
X-CMAE-Envelope: | MS4wfEKfdJ2AhZgBTxsfq7Xl8GzwjBODHYzjyTU3VEFu/61LiyFDBDvVXVeYAXi6VTm6pb01J53dNDtahCL59FToc8+cYwAyMgDDFQLFtReqZZX7U7zdVwA5 5wCPG+LpRAiD3BeO3n0gcrEw+Pc45UHid7eaghDdhbGCv+WzzO9ESAhWW6b5vu+UVgnOQF/n7jT18w== |
X-IsSubscribed: | yes |
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 win32 path >>> correctly, but child_info_spawn::worker does not appear to quote args with >>> spaces (or apostrophes) when building the command line, despite the comment near >>> the top of the function. >> Do you have a test case for this? In my testing, paths with spaces (like >> '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: No trailing space - middle char - the directory name was exactly as in the OP: ".../@ x/" - see strace output. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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 |