Files
openclaw/src/process
cxbAsDev 3b37fe1de4 fix(supervisor): suppress unhandled stream errors on child stdout/stderr (#99802)
* fix(supervisor): suppress unhandled stream errors on child stdout/stderr

Child process stdout and stderr streams can emit 'error' events
(EPIPE, resource limits, I/O errors) that crash the process when
no listener is attached. Add noop error handlers to prevent crashes
while preserving normal data/end/close event flow.

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

* test(supervisor): add regression test for stream error suppression

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

* fix(supervisor): guard child stream errors during setup

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Vincent Koc <vincentkoc@ieee.org>
2026-07-03 22:49:12 -07:00
..