Liking cljdoc? Tell your friends :D
Clojure only.

badigeon.exec


execclj

(exec command)
(exec command
      {:keys [proc-args error-msg] :or {error-msg "Process execution error"}})

Synchronously executes the specified command in a separate process. Prints the process output using "clojure.core/print". Throws an exception when the process exit code is not 0.

  • command: The command to be executed.
  • proc-args: A collection of command arguments. Default to no argument.
  • error-msg: The error message of the exception thrown upon error. Default to "Process execution error".
Synchronously executes the specified command in a separate process. Prints the process output using "clojure.core/print". Throws an exception when the process exit code is not 0.
- command: The command to be executed.
- proc-args: A collection of command arguments. Default to no argument.
- error-msg: The error message of the exception thrown upon error. Default to "Process execution error".
raw docstring

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

× close