Skip to content

Commit 10c44d5

Browse files
authored
chore: Better pgrep matching for gemini (#21)
1 parent fec254f commit 10c44d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/daemon.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ async fn get_agent_pids() -> anyhow::Result<Vec<(Agent, String)>> {
331331
.args(["-x", "codex"])
332332
.output(),
333333
tokio::process::Command::new("pgrep")
334-
.args(["-f", r"(^|/)gemini($| )"])
334+
.args(["-f", r"^node .*/bin/gemini"])
335335
.output(),
336336
);
337337
let pids = String::from_utf8_lossy(&output_claude?.stdout)

0 commit comments

Comments
 (0)