mirror of
https://github.com/electron/electron.git
synced 2026-10-28 11:44:46 +08:00
Removing --no-stdio-init also removed the filtering that kept the switch out of Node.js argument parsing. Existing launchers using ELECTRON_RUN_AS_NODE therefore fail at startup with a bad option error. Restore silent filtering to ease migration without restoring the switch's stdio initialization behavior. Keep automatic Windows NUL detection unchanged and update the command-line and breaking-change documentation. Follow up on #53459 and the review feedback in #55366. Assisted-By: GPT 6 Astra