Runs a Connectome Workbench command that has already been formatted.
run_wb_cmd(cmd, intern = TRUE, ignore.stdout = NULL, ignore.stderr = NULL)
The full command, beginning after the workbench path.
Return printed output? If FALSE
, return
logical indicating success instead. Default: TRUE
.
The "ignore.stdout" and "ignore.stderr"
arguments to system
. Should be logical or NULL
.
If NULL
(default), messages will be controlled by
ciftiTools.getOption("suppress_msgs")
and errors will not be ignored.
If intern==TRUE
, the printed output of the command.
If intern==FALSE
, a logical indicating if the command finished
successfully.