stdx::process

Function spawn_with_streaming_output

source
pub fn spawn_with_streaming_output(
    cmd: Command,
    on_stdout_line: &mut dyn FnMut(&str),
    on_stderr_line: &mut dyn FnMut(&str),
) -> Result<Output>