Liking cljdoc? Tell your friends :D

clj-toolbox.shelltools


prepare-cmdclj

(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
sourceraw docstring

sh!clj

(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
sourceraw docstring

with-append-sh-envcljmacro

(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
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close