system_output {devtools} | R Documentation |
Run a system command and capture the output.
system_output(cmd, args = character(), env_vars = character(), path = ".", quiet = FALSE, ...)
cmd |
Command to run. Will be quoted by |
args |
A character vector of arguments. |
env_vars |
A named character vector of environment variables. |
path |
Path in which to execute the command |
quiet |
If |
... |
additional arguments passed to |
command output if the command succeeds, an error will be thrown if the command fails.