Functions for running commands against the local host.
This namespace presents an API similar to that of the jepsen.control
namespace with the behavioral difference being these functions run commands
against the local host (via bash) rather than the remote host (via bash over
the node's SSH connection).
Functions for running commands against the local host. This namespace presents an API similar to that of the `jepsen.control` namespace with the behavioral difference being these functions run commands against the local host (via bash) rather than the remote host (via bash over the node's SSH connection).
(exec & commands)
Takes a shell command and arguments, runs the command on the local host, and returns its stdout, throwing if an error occurs. Escapes all arguments.
Takes a shell command and arguments, runs the command on the local host, and returns its stdout, throwing if an error occurs. Escapes all arguments.
(exec* & commands)
Like exec, but does not escape.
Like exec, but does not escape.
(sh* {cmd :cmd :as action})
Evaluates a shell command.
Evaluates a shell command.
(wrap-bash cmd)
Wraps command in a bash shell.
Wraps command in a bash shell.
(wrap-cd cmd)
Wraps command by changing to the current bound directory first.
Wraps command by changing to the current bound directory first.
(wrap-sudo cmd)
Wraps command in a sudo subshell.
Wraps command in a sudo subshell.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close