Fix stop logic

This commit is contained in:
Louis Knight-Webb
2025-06-21 23:40:13 +01:00
parent 030c1966c3
commit 4a47c50868
8 changed files with 250 additions and 40 deletions

View File

@@ -42,6 +42,7 @@ impl Executor for ClaudeExecutor {
.arg("--dangerously-skip-permissions")
.arg("--verbose")
.arg("--output-format=stream-json")
.process_group(0) // Create new process group so we can kill entire tree
.spawn()
.map_err(ExecutorError::SpawnFailed)?;