(cksum s)
TODO: replace by native Java version instead of shelling out
TODO: replace by native Java version instead of shelling out
(shell-command args)
(shell-command args
{:keys [:input :to-string? :throw? :show-errors?]
:or {throw? false show-errors? true}})
Executes shell command.
Accepts the following options:
:input
: instead of reading from stdin, read from this string.
:to-string?
: instead of writing to stdoud, write to a string and
return it.
:throw?
: Unless false
, exits script when the shell-command has a
non-zero exit code, unless throw?
is set to false.
Executes shell command. Accepts the following options: `:input`: instead of reading from stdin, read from this string. `:to-string?`: instead of writing to stdoud, write to a string and return it. `:throw?`: Unless `false`, exits script when the shell-command has a non-zero exit code, unless `throw?` is set to false.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close