pub fn run_streamed_cmd<F: FnMut(&str)>(cmd: Command, on_line: F) -> CmdResultExpand description
Like run_streamed but takes a pre-built Command, so the caller can
set the working directory + environment. Streams stdout/stderr lines to
on_line on the calling thread.