Files
Love-JourneY 785e7e6caf fix(desktop): handle EPIPE in webui-server stdout/stderr forwarding (#1949)
When the parent process closes its stdout/stderr pipe (e.g. terminal
exits, launch script terminates), process.stdout.write() throws
an unhandled write EPIPE error that crashes the main process.

Fixed by wrapping stdout/stderr writes in try/catch and adding
silent error handlers on both child streams.

Fixes #58757 (re-filed)

Co-authored-by: bbSoyArch <bbsoyarch@users.noreply.github.com>
2026-07-06 08:32:00 +08:00
..