diff --git a/test_infra/src/lib.rs b/test_infra/src/lib.rs index 79210e9eb..35cf35b49 100644 --- a/test_infra/src/lib.rs +++ b/test_infra/src/lib.rs @@ -1304,6 +1304,9 @@ impl<'a> GuestCommand<'a> { } if self.capture_output { + // The caller should call .wait() on the returned child + #[allow(unknown_lints)] + #[allow(clippy::zombie_processes)] let child = self .command .stderr(Stdio::piped()) @@ -1333,6 +1336,9 @@ impl<'a> GuestCommand<'a> { )) } } else { + // The caller should call .wait() on the returned child + #[allow(unknown_lints)] + #[allow(clippy::zombie_processes)] self.command.spawn() } }