microsoft/Terminal

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

Open

#19749 opened on Jan 15, 2026

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

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