deepak1556

#56183: fix: restore Ctrl+C handling for browser process on Windows

Merged
Created: Dec 4, 2026, 3:01:52 AM
Merged: Dec 4, 2026, 9:48:47 AM
4 comments
Target: main

Description of Change

When an Electron app is launched detached on Windows, CreateProcess is called with CREATE_NEW_PROCESS_GROUP, which sets CONSOLE_IGNORE_CTRL_C in the process's PEB. That flag is inherited by every descendant process, causing child consoles and external terminals spawned from the app to ignore Ctrl+C.

Refs microsoft/vscode#205417

Release Notes

Notes: Fixed an issue on Windows where child console processes spawned from an Electron app launched detached would ignore Ctrl+C.

Backports

44-x-y
Merged
PR Number
#56197
Merged At
Dec 4, 2026, 3:32:37 PM
Released In
Not yet
Release Date
Not yet
45-x-y
Merged
PR Number
#56198
Merged At
Dec 4, 2026, 3:32:39 PM
Released In
Not yet
Release Date
Not yet
46-x-y
Merged
PR Number
#56199
Merged At
Dec 4, 2026, 3:32:42 PM
Released In
Not yet
Release Date
Not yet

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