run_wb_cmd: Wrapper for Connectome Workbench Commands

View source: R/wb_cmd.R

run_wb_cmdR Documentation

Wrapper for Connectome Workbench Commands

Description

Runs a Connectome Workbench command that has already been formatted.

Usage

run_wb_cmd(cmd, intern = TRUE, ignore.stdout = NULL, ignore.stderr = NULL)

Arguments

cmd

The full command, beginning after the workbench path.

intern

Return printed output? If FALSE, return logical indicating success instead. Default: TRUE.

ignore.stdout, ignore.stderr

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.

Value

If intern==TRUE, the printed output of the command. If intern==FALSE, a logical indicating if the command finished successfully.


ciftiTools documentation built on Oct. 4, 2024, 1:12 a.m.