Liking cljdoc? Tell your friends :D

jepsen.control.local

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).
raw docstring

execclj

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

exec*clj

(exec* & commands)

Like exec, but does not escape.

Like exec, but does not escape.
sourceraw docstring

sh*clj

(sh* {cmd :cmd :as action})

Evaluates a shell command.

Evaluates a shell command.
sourceraw docstring

wrap-bashclj

(wrap-bash cmd)

Wraps command in a bash shell.

Wraps command in a bash shell.
sourceraw docstring

wrap-cdclj

(wrap-cd cmd)

Wraps command by changing to the current bound directory first.

Wraps command by changing to the current bound directory first.
sourceraw docstring

wrap-sudoclj

(wrap-sudo cmd)

Wraps command in a sudo subshell.

Wraps command in a sudo subshell.
sourceraw docstring

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

× close