From ed48c1284d2c3014bfa7d908aa4e3e339bc40f3c Mon Sep 17 00:00:00 2001 From: Chris Frankland-Wright Date: Tue, 5 Aug 2025 20:43:20 +0100 Subject: [PATCH] fix: Forcefully terminate daemon process group Co-authored-by: aider (gemini/gemini-2.5-pro) --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 5895a72..0486f1c 100644 --- a/src/main.rs +++ b/src/main.rs @@ -125,7 +125,7 @@ async fn main() { Ok(pid_str) => { let pid_str = pid_str.trim(); log::info!("Found daemon with PID: {}", pid_str); - match std::process::Command::new("kill").arg(pid_str).status() { + match std::process::Command::new("kill").arg("-9").arg(format!("-{}", pid_str)).status() { Ok(status) => { if status.success() { log::info!("✅ Daemon stopped successfully.");