hello
is there any way to catch an exception from dosh
?
or maybe is there any way to call a shell command and get the exit code, analyze, and do some stuff, not exiting.
@ghiden IIRC, dosh
is just a thin wrapper around clojure.java.shell/sh
which is straightforward to use. i used it directly in a project recently: https://github.com/daveyarwood/alda-clj/blob/4d1a0c3/src/alda/core.clj#L47-L52
https://clojure.github.io/clojure/clojure.java.shell-api.html#clojure.java.shell/sh
thanks
i'll try that
no prob!