upstream stdx changes

This commit is contained in:
BenjaminBrienen 2025-04-04 18:37:21 +02:00
parent 2261e4e892
commit 428ee50540
11 changed files with 131 additions and 97 deletions

View file

@ -54,6 +54,9 @@ pub fn streaming_output(
Ok((stdout, stderr))
}
/// # Panics
///
/// Panics if `cmd` is not configured to have `stdout` and `stderr` as `piped`.
pub fn spawn_with_streaming_output(
mut cmd: Command,
on_stdout_line: &mut dyn FnMut(&str),