do options to clj -J
need to be quoted/escaped somehow on Windows? For something like clj -J-Dclojure.server.repl='{:port 5555 :accept clojure.core.server/repl}'
I'm getting
Execution error (FileNotFoundException) at java.io.FileInputStream/open0 (FileInputStream.java:-2).
.server.repl={:port 5555 :accept clojure.core.server\repl} (The filename, directory name, or volume label syntax is incorrect)
the equivalent works fine in WSL
Just noticed based on the error that something is changing the /
in the :accept
option to \
, not sure how to prevent that
survey says:
clj '-J-Dclojure.server.repl={:port 5555 :accept clojure.core.server/repl}'
fooled myself with the coerced path, never realized clj was implemented as a PowerShell function on Windows and ps splits args on .