Hill-98

#55397: fix: silently ignore legacy --no-stdio-init switch

Merged
Created: Oct 27, 2026, 4:56:33 AM
Merged: Oct 27, 2026, 12:27:23 PM
5 comments
Target: main

Description of Change

Follow-up to #53459, addressing review feedback in #55366.

Removing --no-stdio-init also removed the filtering that prevented Node.js from parsing it. Existing launchers using ELECTRON_RUN_AS_NODE therefore fail at startup with a bad option error.

Restore silent filtering to ease migration. This does not restore the switch's original behavior or change automatic Windows NUL detection. The switch remains obsolete and should be removed from application launch arguments.

Update the command-line and breaking-change documentation accordingly.

Checklist

Release Notes

Notes: Fixed startup failures with --no-stdio-init in ELECTRON_RUN_AS_NODE mode.

Backports

46-x-y
Pending
Waiting for a manual backport

Semver Impact

Major
Breaking changes
Minor
New features
Patch
Bug fixes
None
Docs, tests, etc.

Semantic Versioning helps users understand the impact of updates:

  • Major (X.y.z): Breaking changes that may require code modifications
  • Minor (x.Y.z): New features that maintain backward compatibility
  • Patch (x.y.Z): Bug fixes that don't change the API
  • None: Changes that don't affect using facing parts of Electron