tart/Sources
Nikolai Tillmann 512c1c3630
Fix busy loop in `tart exec -i` after piped stdin reaches EOF (#1281)
Unregister the stdin readabilityHandler when availableData returns empty:
a closed pipe fd stays permanently readable, so Foundation re-invokes the
handler in a tight loop (fstat + zero-byte read) at 100% of one core for
the rest of the command's lifetime.

Fixes #1280

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 08:56:27 -04:00
..
tart Fix busy loop in `tart exec -i` after piped stdin reaches EOF (#1281) 2026-07-17 08:56:27 -04:00