From 9c2a76da16e0be1a56c9832cb468ac259868c6e8 Mon Sep 17 00:00:00 2001 From: Ronald Holshausen Date: Tue, 3 Sep 2024 15:20:18 +1000 Subject: [PATCH] chore: Cleanup compiler warning --- drivers/rust/driver/src/child_process.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/rust/driver/src/child_process.rs b/drivers/rust/driver/src/child_process.rs index 410e52c..2f2e6b5 100644 --- a/drivers/rust/driver/src/child_process.rs +++ b/drivers/rust/driver/src/child_process.rs @@ -119,7 +119,7 @@ impl ChildPluginProcess { process.kill(); // revert windows specific logic once https://github.com/GuillaumeGomez/sysinfo/pull/1341/files is merged/released #[cfg(windows)] - let _ = Command::new("taskkill.exe").arg("/PID").arg(self.child_pid.to_string()).arg("/F").arg("/T").output(); + let _ = std::process::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); }