microsoft/Terminal

[cont] [DefTerm] Some invocations can cause deadlocks in terminal + another GUI application in Attach mode

Open

#19,749 opened on Jan 15, 2026

View on GitHub
 (5 comments) (0 reactions) (0 assignees)C++ (3,212 forks)batch import
Area-DefAppHelp WantedIssue-BugPriority-2Product-Terminal

Repository metrics

Stars
 (35,764 stars)
PR merge metrics
 (Avg merge 27d 19h) (24 merged PRs in 30d)

Description

Windows Terminal version

No response

Windows build number

No response

Other Software

No response

Steps to reproduce

Same steps as https://github.com/microsoft/terminal/issues/14131 More here: https://github.com/microsoft/terminal/issues/14131#issuecomment-3731555688

Expected Behavior

no 5000ms timeout from SendMessageTimeoutW: SMTO_NOTIMEOUTIFNOTHUNG

Actual Behavior

5000ms because the window is newly hung (by call to system())

Contributor guide