1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00

python.el: Support interpreter paths with spaces

Fixes: debbugs:19289

* lisp/progmodes/python.el (python-shell-parse-command): Quote
`python-shell-interpreter`.
This commit is contained in:
Fabián Ezequiel Gallina 2014-12-08 22:32:53 -03:00
parent d83f329909
commit c2db939359
2 changed files with 7 additions and 1 deletions

View file

@ -2086,7 +2086,8 @@ uniqueness for different types of configurations."
(exec-path (python-shell-calculate-exec-path)))
(format "%s %s"
;; FIXME: Why executable-find?
(executable-find python-shell-interpreter)
(shell-quote-argument
(executable-find python-shell-interpreter))
python-shell-interpreter-args)))
(defun python-shell-calculate-process-environment ()