Skip to main content

try_run_captured

Function try_run_captured 

Source
pub fn try_run_captured(script: &str) -> Result<String, RunError>
Expand description

Parse and run a clitest script string. Returns Ok(output) on success, or Err(RunError) with both the error message and captured output on failure.