This repository was archived by the owner on Oct 21, 2022. It is now read-only.
This repository was archived by the owner on Oct 21, 2022. It is now read-only.
Windows 7 Error: Unable to access jarfile #20
Open
Description
My user name on Windows 7 has a space char in it. When I attempt to evaluate a form I get the following error:
Error: Unable to access jarfile "C:\Users\<user>\AppData\Local\LightTable\plugins\Clojure\runner\target\lein-light-standalone.jar"
See [Error accessing lein-light-standalone.jar after updating Clojure plugin](Error accessing lein-light-standalone.jar after updating Clojure plugin) for details
On Windows 7, calls to proc/exec should not wrap the args in quotes. In this case remove call to windows-escape from https://github.com/LightTable/Clojure/blob/master/src/lt/plugins/clojure.cljs#L819.
See Windows 7 "can't open file py-src\ltmain.py" error for details on why wrapping args in proc/exec calls is a bad idea even on Windows.