Run a command
run_command.Rd
Run a command
Usage
run_command(
cmd,
fg = FALSE,
wait = TRUE,
print_command = cat,
stdout = "",
stderr = "",
...
)
Arguments
- cmd
A command to run
- fg
Whether to run the command in the foreground
- wait
Whether to wait for the command to finish
- print_command
The handler to print the command
- stdout
See base::system2
- stderr
See base::system2
- ...
Additional arguments to pass to
system2