(cksum s)
TODO: replace by native Java version instead of shelling out
TODO: replace by native Java version instead of shelling out
(clojure-tools-jar-download deps-clj-config-dir)
Downloads clojure tools jar into deps-clj-config-dir.
Downloads clojure tools jar into deps-clj-config-dir.
(double-quote s)
Double quotes shell arguments on Windows. On other platforms it just passes through the string.
Double quotes shell arguments on Windows. On other platforms it just passes through the string.
(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