Self running clojure batch file.
I picked this up from the mailing list. I didn’t want to forget about it so I’m posting it here as a reminder.
😡 (comment @echo off java -cp d:/products/clojure/clojure.jar clojure.main "%~f0" %* goto :eof ) (println "Hi!" *command-line-args*)
Very handy.
Leave a Comment