Skip to content

Commit

Permalink
chore: set self.child_pid [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
YOU54F committed Aug 21, 2024
1 parent f332bca commit d5f3069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rust/driver/src/child_process.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ impl ChildPluginProcess {
#[cfg(not(windows))]
process.kill();
#[cfg(windows)]
process::Command::new("taskkill.exe").arg("/PID").arg(child_pid.to_string()).arg("/F").arg("/T").output();
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);
}
Expand Down

0 comments on commit d5f3069

Please sign in to comment.