Fork me on GitHub
#clojure-dev
<
2024-06-16
>
thheller07:06:02

did anyone report yet that the new invoke-tool thing in 1.12 does not work on windows? Neither in PowerShell nor regular? Fails with

Execution error (IOException) at java.lang.ProcessImpl/create (ProcessImpl.java:-2).
CreateProcess error=2, The system cannot find the file specified

Alex Miller (Clojure team)14:06:38

what does "regular" mean here?

thheller14:06:55

cmd.exe "shell"

thheller07:06:58

works if I change command-strs to command-strs ["powershell.exe" "-c" "clojure" (str "-T" (or tool-alias tool-name)) "-"]. not sure thats the best path or how to detect windows though.

borkdude07:06:34

Check out clj-msi and the clj-on-windows channel. I’m on the go so I can’t comment on it much further right now

borkdude08:06:22

I'm back now. In #clj-on-windows you can find various conversations about that clj-msi (the installer) would be the future of the clojure CLI on Windows https://github.com/casselc/clj-msi