GNU bug report logs - #18745
24.3; MS Windows, `call-process-shell-command' fails on `shell-quote-argument'ed bat file with quoted args

Previous Next

Package: emacs;

Reported by: Noam Postavsky <npostavs <at> users.sourceforge.net>

Date: Thu, 16 Oct 2014 04:35:01 UTC

Severity: minor

Found in versions 25.0.50, 24.3

Done: Juanma Barranquero <lekktu <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #97 received at 18745 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juanma Barranquero <lekktu <at> gmail.com>
Cc: 18745 <at> debbugs.gnu.org
Subject: Re: bug#18745:
Date: Fri, 30 Oct 2015 22:10:09 +0200
> From: Juanma Barranquero <lekktu <at> gmail.com>
> Date: Fri, 30 Oct 2015 18:09:38 +0100
> Cc: 18745 <at> debbugs.gnu.org
> 
> I don't think there's anything more to do here, other than perhaps adding a
> note somewhere that the test doesn't work under TCC.

If the batch says

  cmd /c echo arg1 = %1, arg2 = %2

i.e. invokes cmd.exe from the batch file, does the test still fail?

If it still fails, I think making the test more tolerant of the
trailing whitespace is IMO a better alternative than letting it fail.
After all, that trailing space is not what we are testing there.




This bug report was last modified 9 years and 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.