(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.
(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.
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.
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.
(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
(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.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close