clojure-dev

thheller 2024-06-16T07:50:02.246459Z

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) 2024-06-17T14:26:38.830259Z

what does "regular" mean here?

thheller 2024-06-17T14:27:55.640469Z

cmd.exe "shell"

Alex Miller (Clojure team) 2024-06-17T14:28:11.708579Z

thx

thheller 2024-06-16T07:52:58.653769Z

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.

borkdude 2024-06-16T07:54:34.277479Z

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

borkdude 2024-06-16T08:55:22.470559Z

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