Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with cider-jack-in in Windows #1811

Closed
lopalghost opened this issue Jul 21, 2016 · 0 comments
Closed

Problem with cider-jack-in in Windows #1811

lopalghost opened this issue Jul 21, 2016 · 0 comments
Labels

Comments

@lopalghost
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants