pub fn run_with_path_captured( name: &str, line: usize, path: impl AsRef<Path>, script: &str, ) -> String
Parse and run a clitest script string. Returns captured output. Panics on failure.