GNU bug report logs - #9792
24.0.50; process-file and space in filename

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Wed, 19 Oct 2011 03:46:02 UTC

Severity: normal

Tags: wontfix

Found in version 24.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Leo <sdl.web <at> gmail.com>
Cc: 9792 <at> debbugs.gnu.org
Subject: Re: bug#9792: 24.0.50; process-file and space in filename
Date: Fri, 21 Oct 2011 09:53:58 +0200
> From: Leo <sdl.web <at> gmail.com>
> Date: Fri, 21 Oct 2011 09:27:29 +0800
> 
> On 2011-10-20 19:00 +0800, Eli Zaretskii wrote:
> > The problem happens when both of the following conditions are true:
> >
> >   . the command being invoked is a batch file (git.cmd in this case)
> >
> >   . the directory where it lives included parentheses
> 
> Thanks for looking into this.
> 
> But (apply 'process-file "git" nil t nil '("--no-pager" "log")) does not
> fail.

Sheer luck.  cmd.exe has all kind of fragile heuristics built into it,
when quotes are present on the command line; sometimes it works,
sometimes it doesn't.

In my testing, I put an ls.cmd in such a directory that called the
real ls.exe, and saw it sometimes work, sometimes not, depending on
what were the command-line arguments.




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

Previous Next


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