Repository navigation
Commit 17b0a95
committed
fix(opencode): remove shell tool detached flag to prevent zombie processes
On Linux, spawning shell children with `detached: true` calls setsid()
which puts them in their own process group. Without a SIGCHLD handler,
exited children become zombies. Explicit cleanup is already handled via
handle.kill() in abort/timeout paths, making signal-group isolation
unnecessary.
Fixes anomalyco#295061 parent e5cf3ad commit 17b0a95
1 file changed
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
301 | 301 | | |
302 | 302 | | |
303 | 303 | | |
304 | | - | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
305 | 310 | | |
306 | 311 | | |
307 | 312 | | |
| |||
0 commit comments