This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-13
Channels
- # announcements (10)
- # aws (1)
- # babashka (8)
- # babashka-circleci-builds (1)
- # beginners (67)
- # calva (4)
- # cljs-dev (42)
- # clojars (4)
- # clojure (213)
- # clojure-dev (4)
- # clojure-europe (18)
- # clojure-nl (1)
- # clojure-uk (8)
- # clojurescript (13)
- # conjure (6)
- # cursive (63)
- # data-science (5)
- # datomic (11)
- # events (1)
- # graalvm (2)
- # graalvm-mobile (1)
- # honeysql (4)
- # kaocha (3)
- # leiningen (19)
- # lsp (32)
- # malli (3)
- # meander (13)
- # news-and-articles (3)
- # off-topic (8)
- # polylith (5)
- # re-frame (47)
- # reitit (2)
- # shadow-cljs (28)
- # sql (3)
- # tools-build (4)
- # tools-deps (51)
- # uix (9)
- # xtdb (3)
the shell function that is avaliable in bb.edn ā Iād like to use it in a bb script. is it avaliable in a library someplace?
@escherize yes, available as babashka.tasks/shell
@U04V15CAJ Can I use bb shell in the regular bb sripts and how to get the result instead of the process?
((juxt count identity) (shell "ls -l"))
is returning a java object, but i'd like the command result as a list@U96LS78UV shell
accepts the same options as babashka.process/process
in the first position as a map. See https://github.com/babashka/process for docs.
You could do: (:out (shell {:out :string} "ls -l"))
to get the process output as a string