Skip to content

Handoff from conhost to Terminal can take over 5 seconds #19602

@msinilo

Description

@msinilo

Windows Terminal version

1.23.12811.0

Windows build number

10.0.26100.0

Other Software

No response

Steps to reproduce

The easiest repro is to create a Windows "Hello World" app that calls system("dir"). The actual command does not matter, it is just the act of creating shell.

Expected Behavior

No response

Actual Behavior

If running as admin or after changing the default terminal application to console host, it is almost instant. Running as a regular user with Terminal as default freezes the app for 5+ seconds. It does not seem to affect C# apps. Handoff from conhost.exe to Windows Terminal can take over 5 seconds (each time).
A longer write-up with some more findings can be found here: http://msinilo.pl/blog2/post/chasing-a-hitch/

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.Needs-TriageIt's a new issue that the core contributor team needs to triage at the next triage meeting

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions