Liking cljdoc? Tell your friends :D
Clojure only.

jj.bettong.capability.shell

Running shell commands.

Running shell commands.
raw docstring

shellclj

(shell)
(shell {:keys [timeout-ms] :as options})

Run shell commands. Options: :root working directory the command's :dir is resolved against and confined to. NOTE this confines where the command starts, not what it can reach - a command can write anywhere the process can. :timeout-ms kill a command after this long (default 120000) :max-output characters of output to keep (default 20000) :strip-secrets? keep credential env vars from the command (default true) :deny extra [regex reason] pairs to refuse :deny-defaults? refuse the catastrophic commands (default true) :allow regexes; when given, only matching commands run

Run shell commands. Options:
:root       working directory the command's :dir is resolved against and
            confined to. NOTE this confines where the command starts, not
            what it can reach - a command can write anywhere the process can.
:timeout-ms kill a command after this long (default 120000)
:max-output characters of output to keep (default 20000)
:strip-secrets?  keep credential env vars from the command (default true)
:deny            extra [regex reason] pairs to refuse
:deny-defaults?  refuse the catastrophic commands (default true)
:allow           regexes; when given, only matching commands run
raw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close