With babashka, is there a way to route the stdout and stderr output of
from an external process call via something like clojure.java.shell/sh
directly to stdout?
With babashka, is there a way to route the stdout and stderr output of
from an external process call via something like clojure.java.shell/sh
directly to stdout?
I'd wrap the sh-call into a println: (println (shell/sh ...)). This will print something like {:out "" :err ""}.
As per the comment: Have a look at ProcessBuilder: https://github.com/borkdude/babashka/blob/master/examples/process_builder.clj