Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

fix(tools): bash timeout kills the process tree via proc.run

2 months ago

9aec0ae
Authored
Max Weinbach7/7/2026, 2:08:53 PM
The bash tool's exec engine moves from execFileCompat to platform/proc.run,
so a timed-out or aborted 'pwsh -Command' / 'bash -lc' wrapper no longer
leaves its grandchildren (npm, dev servers, builds) running — POSIX children
run detached and the whole group is killed, win32 uses taskkill /T. Same
errorCode contract; closes migration row 14.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>

Parent564e14c

1 file changed
  • src/tools/bash.ts+6−2