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 #29 received at 9792 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: sdl.web <at> gmail.com, 9792 <at> debbugs.gnu.org
Subject: Re: bug#9792: 24.0.50; process-file and space in filename
Date: Thu, 20 Oct 2011 13:00:18 +0200
> Date: Thu, 20 Oct 2011 12:02:48 +0200
> From: Eli Zaretskii <eliz <at> gnu.org>
> Cc: 9792 <at> debbugs.gnu.org
> 
> > But I can C-u M-C-x process-file and get a backtrace like this one:
> > http://paste.pound-python.org/show/13964 if that is helpful.
> 
> Assuming that process-file is called with the name of the program
> being just "git", with no leading directories, it sounds like the
> problem is born inside call-process and its subroutines; I will have a
> look.

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

I cannot find a workable solution for this situation; the error
happens even if the batch file is invoked via the system shell.
Suggestions for solving this are welcome.  The relevant function is
w32proc.c:sys_spawnve.

Unless someone can suggest how to fix this, I'm inclined to tag this
problem as "wontfix", and suggest that Windows users do not install
such commands in a directory whose name includes parentheses.




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.