Skip to main content

run_command

Function run_command 

Source
pub fn run_command(
    spec: &CommandSpec,
    log_path: &Utf8Path,
) -> Result<CommandOutput, AndroidError>
Expand description

Run one command, capture both streams without pipe deadlock, and save a redacted log.

ยงErrors

Returns an error when spawning, stream capture, logging, timeout handling, or exit status indicates failure.