From a36ec4841414645f1831292ff687fed272c39c72 Mon Sep 17 00:00:00 2001 From: Reilly Wood Date: Wed, 10 Apr 2024 17:01:47 -0700 Subject: [PATCH] Fix issue on windows where child has already exited --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index bb6ab5b..f2986a5 100644 --- a/src/main.rs +++ b/src/main.rs @@ -278,7 +278,7 @@ fn main() -> Result<()> { if bytes.iter().any(|b| *b == 0x4) { // EOF - child.clone_killer().kill()?; + _ = child.clone_killer().kill(); drop(_clean_up); let sequence_count = state.sequence_count.load(Ordering::Relaxed); println!(