Files
ECC/tests/scripts
Gaurav Dubey 405610bc29 fix(dashboard): keep the web dashboard running when no browser launcher is installed
The auto-open in the dashboard-web.js entrypoint spawned xdg-open/open
without an 'error' listener. When the launcher is missing (headless
Linux, containers, many WSL setups) spawn reports ENOENT asynchronously,
the try/catch cannot see it, and the unhandled 'error' event kills the
process right after the banner is printed.

Use the shared openBrowser() helper from scripts/lib/platform-launch.js,
which already handles the child's error event and unrefs the launcher,
as plan-canvas.js and control-pane.js do.

Fixes #3600
2026-10-16 04:37:11 +00:00
..