GNU bug report logs - #15003
24.3; Function run-python fails on MS-Windows 7

Previous Next

Package: emacs;

Reported by: lewcreary <at> cs.com

Date: Thu, 1 Aug 2013 21:36:03 UTC

Severity: minor

Tags: notabug

Fixed in version 24.3

Done: fgallina <at> gnu.org

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: lewcreary <at> cs.com
Cc: 15003 <at> debbugs.gnu.org
Subject: Re: bug#15003: 24.3; Function run-python fails on MS-Windows 7
Date: Fri, 16 Aug 2013 00:12:23 -0400
> (run-python "c:/Program Files (x86)/Python/Python31/python.exe -i" nil t)

This is ambiguous: maybe the program you want to run is in the file
"c:/Program".  Or is it "c:/Program Files"?  Oh wait, maybe you meant
the executable "c:/Program Files (x86)/Python/Python31/python.exe -i"?

> ? ? ? ? (let* ((cmdlist (split-string-and-unquote cmd))

split-string-and-unquote was specifically used so that the user can
resolve those ambiguities by quoting the elements that contain
embedded spaces.  E.g. try

 (run-python "\"c:/Program Files (x86)/Python/Python31/python.exe\" -i" nil t)


-- Stefan




This bug report was last modified 11 years and 260 days ago.

Previous Next


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