-
-
Notifications
You must be signed in to change notification settings - Fork 648
Closed
Labels
Description
Expected Behavior
cider-jack-in starts a REPL for a Leiningen Project.
Actual Behavior
When I try cider-jack-in, Cider is unable to resolve the lein command path if there's a space in it. E.g. if lein.bat is in c:\Users\User Name.lein... I get an error message saying c:\Users\User is not executable.
I'm able to get around the issue if I wrap the body of cider--lein-command-resolve-command
in shell-quote-argument
. I assume the issue is there with Boot and Gradle as well, but I haven't tried those.
Steps to reproduce the problem
With lein.bat in a directory with a space in its path, attempt cider-jack-in.
Environment & Version information
CIDER version information
CIDER 0.13.0snapshot (package: 20160719.552), nREPL 0.2.12
Clojure 1.8.0, Java 1.8.0_92
Lein/Boot version
Lein 2.6.1
Emacs version
Emacs 24.5.1 (with Spacemacs 0.105.21)
Operating system
Windows 10