(prepare-cmd cmd)Flattens and removes nils from a collection of arguments. Useful for constructing shell commands with conditionals or complex flags
Flattens and removes nils from a collection of arguments. Useful for constructing shell commands with conditionals or complex flags
(sh! & args)Runs a command with clojure.java.shell/sh, throwing if the exit code is not 0
Runs a command with clojure.java.shell/sh, throwing if the exit code is not 0
(with-append-sh-env env & body)Like clojure.java.shell/with-sh-env, but instead of replacing the environment, it merges the new env with the old env
Like clojure.java.shell/with-sh-env, but instead of replacing the environment, it merges the new env with the old env
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |