cmd_run | R Documentation |
cmd_run
: Run the command.
cmd_help
: Print the help document for this command.
cmd_background
: Run the command in the background. This function is
provided for completeness. Instead of using this function, we recommend
using cmd_parallel()
, which can run multiple commands in the background
while ensuring that all processes are properly cleaned up when the process
exits.
cmd_run(
command,
stdout = TRUE,
stderr = TRUE,
stdin = TRUE,
stdout_callback = NULL,
stderr_callback = NULL,
timeout = NULL,
spinner = FALSE,
verbose = TRUE
)
cmd_help(
command,
stdout = TRUE,
stderr = TRUE,
stdout_callback = NULL,
stderr_callback = NULL,
verbose = TRUE
)
cmd_background(
command,
stdout = FALSE,
stderr = FALSE,
stdin = NULL,
verbose = TRUE
)
command |
A |
stdout , stderr |
Specifies how the output/error streams of the child process are handled. Possible values include:
For For For When using a |
stdin |
should the input be diverted? Possible values include:
|
stdout_callback , stderr_callback |
Possible values include:
|
timeout |
Timeout in seconds. This is a limit for the elapsed time running command in the separate process. |
spinner |
Whether to show a reassuring spinner while the process is running. |
verbose |
A single boolean value indicating whether the command execution should be verbose. |
cmd_run
: Exit status invisiblely.
cmd_help
: The input command
invisiblely.
cmd_background
: A process
object.
cmd_wd()
/cmd_envvar()
/cmd_envpath()
/cmd_conda()
cmd_on_start()
/cmd_on_exit()
cmd_on_succeed()
/cmd_on_fail()
cmd_parallel()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.