fix(runtime): remove unnecessary borrow in Windows taskkill command

- Fix clippy needless_borrows_for_generic_args warning
- Change &pid.to_string() to pid.to_string() for taskkill /PID argument
- Ensure clippy passes with -D warnings on Windows builds
This commit is contained in:
bahdotsh
2025-08-27 15:45:58 +05:30
parent 5161882989
commit f49ccd70d9

View File

@@ -793,7 +793,7 @@ async fn cleanup_processes() {
let _ = Command::new("taskkill")
.arg("/F")
.arg("/PID")
.arg(&pid.to_string())
.arg(pid.to_string())
.output();
}