diff --git a/drivers/rust/driver/src/child_process.rs b/drivers/rust/driver/src/child_process.rs index 0609518d..098d0834 100644 --- a/drivers/rust/driver/src/child_process.rs +++ b/drivers/rust/driver/src/child_process.rs @@ -1,6 +1,6 @@ //! Module for managing running child processes use std::io::{BufRead, BufReader}; -use std::process::Child; +use std::process::{self, Child, Command}; use std::sync::mpsc::channel; use std::time::Duration; @@ -118,7 +118,7 @@ impl ChildPluginProcess { #[cfg(not(windows))] process.kill(); #[cfg(windows)] - process::Command::new("taskkill.exe").arg("/PID").arg(self.child_pid.to_string()).arg("/F").arg("/T").output(); + let _ = Command::new("taskkill.exe").arg("/PID").arg(self.child_pid.to_string()).arg("/F").arg("/T").output(); } else { warn!("Child process with PID {} was not found", self.child_pid); } diff --git a/drivers/rust/driver/src/plugin_manager.rs b/drivers/rust/driver/src/plugin_manager.rs index 091f6e55..0a03d390 100644 --- a/drivers/rust/driver/src/plugin_manager.rs +++ b/drivers/rust/driver/src/plugin_manager.rs @@ -287,7 +287,7 @@ async fn start_plugin_process(manifest: &PactPluginManifest) -> anyhow::Result