Skip to content

Commit

Permalink
Use system-type to decide the correct RPC python interpreter.
Browse files Browse the repository at this point in the history
The variable window-system can be w32 even on cygwin, where users
expect to use python, not pythonw.

Thanks to nandryshak for the fix!

Fixes #523
  • Loading branch information
jorgenschaefer committed Mar 27, 2015
1 parent 4deba45 commit a8d1c43
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion elpy.el
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ it is sent via a temporary file."
:safe #'integerp
:group 'elpy)

(defcustom elpy-rpc-python-command (if (eq window-system 'w32)
(defcustom elpy-rpc-python-command (if (equal system-type "windows-nt")
"pythonw"
"python")
"The Python interpreter for the RPC backend.
Expand Down

0 comments on commit a8d1c43

Please sign in to comment.