This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-04-08
Channels
- # announcements (1)
- # asami (4)
- # babashka (5)
- # biff (9)
- # calva (26)
- # cider (4)
- # clojure (23)
- # clojure-art (6)
- # clojure-europe (5)
- # clojure-japan (1)
- # clojure-norway (1)
- # clojurescript (11)
- # datomic (7)
- # emacs (26)
- # hoplon (3)
- # hyperfiddle (1)
- # inf-clojure (1)
- # introduce-yourself (5)
- # nyc (34)
- # podcasts-discuss (1)
- # releases (1)
- # shadow-cljs (9)
- # tools-deps (11)
The following works with bb
but not when using the standalone jar:
$ java -jar ~/Downloads/babashka-1.3.176-standalone.jar -e '(babashka.process/exec ["ls" "-la" ])'
:thinking_face:----- Error --------------------------------------------------------------------
Type: java.lang.NoClassDefFoundError
Message: org/graalvm/nativeimage/ProcessProperties
Location: <expr>:1:1
----- Context ------------------------------------------------------------------
1: (babashka.process/exec ["ls" "-la" ])
^--- org/graalvm/nativeimage/ProcessProperties
----- Stack trace --------------------------------------------------------------
babashka.process/exec - <built-in>
user - <expr>:1:1
Yeah exec
is a huge point scored by babashka. Esp. for those with unix backgrounds (rather than JVM background).