Windows Terminal tab shows “[process exited with code 259 (0x00000103)]” or closes when child TUI exits quickly #23669

Closed
opened 2026-01-31 08:48:41 +00:00 by claunia · 1 comment
Owner

Originally created by @koala-lava on GitHub (Oct 8, 2025).

Windows Terminal version

1.24.2372.0

Windows build number

10.0.19044.0

Other Software

broot 1.51.0 (Inside WSL)
micro 2.0.14(Inside WSL) (Optional here)
fish 4.0.2 (Inside WSL)
WSL version: 2.6.1.0
Kernel version: 6.6.87.2-1
WSLg version: 1.0.66
MSRDC version: 1.2.6353
Direct3D version: 1.611.1-81528511
DXCore version: 10.0.26100.1-240331-1435.ge-release
Windows version: 10.0.19044.6332

Steps to reproduce

  • Open Windows Terminal.
  • Ensure the profile is set to:
    “Profile termination behavior” = “never close automatically”.
  • Launch a shell (fish in WSL Debian).
  • Run a TUI program that uses the alternate screen and exits on Esc:
    For example run br (broot) and press Esc immediately(For Esc to work set up quit_on_last_cancel: true in broot config)
    or just try pressing CTRL + Q very quickly
  • Exit the program very quickly (near-instant Esc/q).
  • Observe the tab state and banner message.

Expected Behavior

No error.
“Profile termination behavior” should be “Automatic” I guess.

Actual Behavior

[process exited with code 259 (0x00000103)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

Other issues with same error mention POPCNT

grep -o popcnt /proc/cpuinfo | head -1
output:
popcnt

Originally created by @koala-lava on GitHub (Oct 8, 2025). ### Windows Terminal version 1.24.2372.0 ### Windows build number 10.0.19044.0 ### Other Software broot 1.51.0 (Inside WSL) micro 2.0.14(Inside WSL) (Optional here) fish 4.0.2 (Inside WSL) WSL version: 2.6.1.0 Kernel version: 6.6.87.2-1 WSLg version: 1.0.66 MSRDC version: 1.2.6353 Direct3D version: 1.611.1-81528511 DXCore version: 10.0.26100.1-240331-1435.ge-release Windows version: 10.0.19044.6332 ### Steps to reproduce - Open Windows Terminal. - Ensure the profile is set to: “Profile termination behavior” = “never close automatically”. - Launch a shell (fish in WSL Debian). - Run a TUI program that uses the alternate screen and exits on `Esc`: For example run br (broot) and press Esc immediately(For Esc to work set up `quit_on_last_cancel: true` in broot config) or just try pressing `CTRL + Q` very quickly - Exit the program very quickly (near-instant Esc/q). - Observe the tab state and banner message. ### Expected Behavior No error. “Profile termination behavior” should be “Automatic” I guess. ### Actual Behavior [process exited with code 259 (0x00000103)] You can now close this terminal with Ctrl+D, or press Enter to restart. ### [Other ](https://github.com/microsoft/terminal/issues/16807)issues with same error mention POPCNT `grep -o popcnt /proc/cpuinfo | head -1` output: `popcnt`
claunia added the Needs-TriageIssue-BugNeeds-Author-Feedback labels 2026-01-31 08:48:41 +00:00
Author
Owner

@DHowett commented on GitHub (Oct 8, 2025):

This was likely fixed in #19329, which was released in 1.24.2682.0 one or two weeks ago. Please update.

@DHowett commented on GitHub (Oct 8, 2025): This was likely fixed in #19329, which was released in 1.24.2682.0 one or two weeks ago. Please update.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#23669