Files
rea/src/process
Kaoru0822andClaude Opus 5.5 b7c2646dcf fix(process): bound output draining after a stoppable command's grace
execFileOutput settles only when every output pipe closes. When a stoppable
command printed, exited, and left a descendant holding its stdout, the
deadline and SIGKILL grace had no process left to stop, so callers such as
the Kuna doctor version probe waited for the descendant instead of settling
within the deadline plus grace. Destroy the command's output streams when
the grace expires so the timeout is reported on time.

Fixes #5557

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-20 15:18:50 +00:00
..