Skip to main content

run_foreground

Function run_foreground 

Source
pub fn run_foreground(
    command_line: &[String],
    cwd: &Utf8Path,
    env: &[(String, String)],
    log_path: &Utf8Path,
) -> Result<i32>
Expand description

Run a one-shot command in the workspace, teeing output to the terminal and a log file. Returns the exit code.