Welcome! Please see the About page for a little more info on how this works.
(link: https://github.com/clojure/clojurescript/blob/3a0c07477ae781bf521bdc2b074ed7b783bb93f3/src/main/clojure/cljs/closure.clj#L1672-L1676 text: {{output-main-file}}) for nashorn and graaljs targets make use of {{java.io.File}}. This makes the produced artifact not work when trying to execute it with {{js.java-package-globals}} (see CLJS-3087)
It should either just concat the path strings with a forward slash, which should also work just fine on Windows as per https://docs.oracle.com/javase/8/docs/technotes/guides/scripting/nashorn/shell.html (unfortunately I don't have a machine to verify) or use the {{Java.type}} approach used in (link: https://github.com/clojure/clojurescript/blob/3a0c07477ae781bf521bdc2b074ed7b783bb93f3/src/main/cljs/cljs/bootstrap_graaljs.js#L4 text: {{graaljs_load}})
Comment made by: kommen
I was only able to test {{CLJS-3089.patch}} on macOS for now.
Comment made by: mfikes
CLJS-3089.patch passes CI (/)
CLJS-3089.patch added to Patch Tender (i)