pub fn run(argv: &[String], root: &Path) -> OutcomeExpand description
Run the program and return everything it would have written.
root is the directory relative paths resolve against, which is the process
working directory in main and a scratch tree in the tests. It changes which
bytes are opened and nothing that is reported: a path is reported as it was
written on the command line, never as it was resolved.