(cmd->sshcmd target & sshopts)
Given a target, evaluates to a function that takes a command vector as an argument.
If the target is not a localhost target, ["ssh" target] will be prepended to the command vector.
Given a target, evaluates to a function that takes a command vector as an argument. If the target is not a localhost target, ["ssh" target] will be prepended to the command vector.
(shell-cmd cmdv
&
{:keys [basedir out err buffer verbose s] :or {verbose true s true}})
Execute the given shell command.
cmdv should be a vector of strings representing the command you wish to execute. ["ls" "-al"]
If basedir is supplied, the command will be run in that directory.
Execute the given shell command. cmdv should be a vector of strings representing the command you wish to execute. ["ls" "-al"] If basedir is supplied, the command will be run in that directory.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close