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


View this message in rfc822 format

From: Juanma Barranquero <lekktu <at> gmail.com>
To: 18745 <at> debbugs.gnu.org
Subject: bug#18745: 
Date: Tue, 27 Oct 2015 12:49:01 +0100
[Message part 1 (text/plain, inline)]
process-test-quoted-batfile fails on my Windows 10 Home

F process-test-quoted-batfile
    Check that Emacs hides CreateProcess deficiency (bug#18745).
    (ert-test-failed
     ((should
       (string=
(buffer-string)
"arg1 = \"x &y\", arg2 =
"))
      :form
      (string= "arg1 = \"x &y\", arg2 =
" "arg1 = \"x &y\", arg2 =
")
      :value nil))

The result lacks the trailing space before the \n.

"arg1 = \"x &y\", arg2 =\n"

instead of

"arg1 = \"x &y\", arg2 = \n"
[Message part 2 (text/html, inline)]

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.