Liking cljdoc? Tell your friends :D

puppetlabs.puppetserver.shell-utils


default-execution-optionsclj

source

execute-commandclj

(execute-command command)
(execute-command command opts)

Inputs: ([command :- schema/Str] [command :- schema/Str opts :- ExecutionOptions]) Returns: ExecutionResult

Execute the specified fully qualified command (string) and any included command-arguments (vector of strings) and return the exit-code (integer), and the contents of the stdout (string) and stderr (string) for the command.

Inputs: ([command :- schema/Str] [command :- schema/Str opts :- ExecutionOptions])
Returns: ExecutionResult

Execute the specified fully qualified command (string) and any included
command-arguments (vector of strings) and return the exit-code (integer),
and the contents of the stdout (string) and stderr (string) for the command.
sourceraw docstring

execute-command-streamedclj

(execute-command-streamed command)
(execute-command-streamed command opts)

Inputs: ([command :- schema/Str] [command :- schema/Str opts :- ExecutionOptions]) Returns: ExecutionResultStreamed

Execute the specified fully qualified command (string) and any included command-arguments (vector of strings) and return the exit-code (integer), and the contents of the stdout (stream) and stderr (string) for the command.

Inputs: ([command :- schema/Str] [command :- schema/Str opts :- ExecutionOptions])
Returns: ExecutionResultStreamed

Execute the specified fully qualified command (string) and any included
command-arguments (vector of strings) and return the exit-code (integer),
and the contents of the stdout (stream) and stderr (string) for the command.
sourceraw docstring

ExecutionOptionsclj

source

ExecutionResultclj

A map that contains the details of the result of executing a command.

A map that contains the details of the result of executing a command.
sourceraw docstring

ExecutionResultStreamedclj

A map that contains the details of the result of executing a command with stdout as a stream.

A map that contains the details of the result of executing a command with
stdout as a stream.
sourceraw docstring

java-exe-optionsclj

(java-exe-options {:keys [env in cwd]})

Inputs: [{:keys [env in cwd]} :- ExecutionOptions] Returns: ShellUtils$ExecutionOptions

Inputs: [{:keys [env in cwd]} :- ExecutionOptions]
Returns: ShellUtils$ExecutionOptions
sourceraw docstring

validate-command!clj

(validate-command! command)

Inputs: [command :- schema/Str]

Checks the command string to ensure that it is an absolute path, executable and that the file exists. An exception is thrown if any of those are not the case.

Inputs: [command :- schema/Str]

Checks the command string to ensure that it is an absolute path, executable
and that the file exists. An exception is thrown if any of those are not the
case.
sourceraw docstring

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

× close