[PR #19096] Fix a crash during commandline handoff #31706

Closed
opened 2026-01-31 09:49:01 +00:00 by claunia · 0 comments
Owner

Original Pull Request: https://github.com/microsoft/terminal/pull/19096

State: closed
Merged: Yes


The crash occurs because WinRT abort()s when it encounters
a std::wstring_view without null-terminator.

Closes #19093

Validation Steps Performed

  • Set wtd as the default terminal
  • Launch cmd
  • Launch wtd
  • 2 windows
**Original Pull Request:** https://github.com/microsoft/terminal/pull/19096 **State:** closed **Merged:** Yes --- The crash occurs because WinRT `abort()`s when it encounters a `std::wstring_view` without null-terminator. Closes #19093 ## Validation Steps Performed * Set `wtd` as the default terminal * Launch `cmd` * Launch `wtd` * 2 windows ✅
claunia added the pull-request label 2026-01-31 09:49:01 +00:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#31706