v3.cmdexec
fn display #
fn display(program string, args []string) string
display returns a shell-escaped representation for logging only.
fn run #
fn run(program string, args []string) os.Result
run executes program with an exact argument vector and captures its output.
fn run_in #
fn run_in(program string, args []string, work_folder string) os.Result
run_in executes program in work_folder with an exact argument vector.
fn split_args #
fn split_args(input string) ![]string
split_args parses a directive or tool response into literal argv elements. Quotes and quoting backslash escapes group text; no shell expansion is performed.