Library to execute a set of commands
Library to execute a set of commands
(execute-command [command cmd-params] cmds-params)
Execute a command, described with Params:
command
- tokenize commandcmd-params
list of parameters for that particular commandcmds-params
list of parmeters set once for the global commandExecute a command, described with Params: * `command` - tokenize command * `cmd-params` list of parameters for that particular command * `cmds-params` list of parmeters set once for the global command
(execute-command* command dir out file in blocking?)
execute-command core function that's used to process the command.
execute-command core function that's used to process the command.
(stream-execute-command* command dir)
Command processing function, that's redirecting output to a log fn as a stream, to allow information to be viewed during operation.
It's additionally focused on both stderr and stdout as in some situations (like docker build that is outputing to stderr) you read from stdout it will block, but when you also want to read from stderr, you'll have to do the first in a future or so, to not block that. https://clojurians.slack.com/archives/CLX41ASCS/p1694600409401029
Command processing function, that's redirecting output to a log fn as a stream, to allow information to be viewed during operation. It's additionally focused on both stderr and stdout as in some situations (like docker build that is outputing to stderr) you read from stdout it will block, but when you also want to read from stderr, you'll have to do the first in a future or so, to not block that. https://clojurians.slack.com/archives/CLX41ASCS/p1694600409401029
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close