public inbox for
 help / color / mirror / Atom feed
From: Brian Inglis <>
Subject: Re: Fails to launch batch script in some directories
Date: Mon, 23 Apr 2018 17:20:00 -0000	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

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:
Unsubscribe info:

  reply	other threads:[~2018-04-23 17:20 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Alexpux/MSYS2-packages/issues/>
2018-04-20 12:33 ` David Macek
2018-04-20 13:11   ` Brian Inglis
2018-04-20 13:11   ` Corinna Vinschen
2018-04-21 15:39     ` Brian Inglis
2018-04-23  6:43       ` David Macek
2018-04-23  8:45         ` Corinna Vinschen
2018-04-23 17:20           ` Brian Inglis [this message]
2018-04-24  7:55             ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).