Skip to main content

run_process

Function run_process 

Source
pub async fn run_process<I, S>(
    args: I,
    interactive_text_output: bool,
) -> Result<CliProcessOutput, CliError>
where I: IntoIterator<Item = S>, S: Into<String>,
Expand description

Runs a CLI process invocation through the outer bootstrap layer.

args are the command-line arguments after the binary name. The interactive_text_output flag captures terminal capability detection from the binary entry point so output-only tests can run without reading process terminal state.