Kill the child process before waiting in streaming_output

This commit is contained in:
Lukas Wirth 2021-10-14 13:53:25 +02:00
parent 2ec406bf64
commit 168f9adaf5

View file

@ -49,6 +49,7 @@ pub fn streaming_output(
}
}
})?;
let _ = child.kill();
child.wait()?
};