microsoft / microsoft/terminal

Terminal shows an empty window and then a conhost window opens after 30s when used as default terminal application

Open
#16,612 17 comments 0 reactions 0 assignees View on GitHub
Area-DefApp Issue-Bug Needs-Repro Priority-3 Product-Terminal Severity-Crash
Dominant language
C++
Stars
105k
Forks
9.6k
Avg merge
3d 17h
Merged PRs (30d)
29

Description

### Windows Terminal version

1.18.3181.0

### Windows build number

10.0.26020.1000

### Other Software

_No response_

### Steps to reproduce

1. Run cmd from the Start box or Start Menu.

### Expected Behavior

1. Windows Terminal to open with the specified console application.

### Actual Behavior

1. A Windows Terminal opened without any session in it.
2. 30 seconds pass.
3. A fallback conhost appears with my desired program.
4. Upon exiting the desired program and conhost closing, the Windows Terminal launches a PowerShell session.

See this video: https://github.com/microsoft/terminal/assets/82626/bd07a775-f033-43dc-b8a8-7c793c90fcd1

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the launch flow described: run cmd from the Start box or Start Menu with Windows Terminal set as the default terminal application. Investigate the terminal startup path and the 30-second fallback to conhost, then verify that the requested console application opens directly in Windows Terminal without an empty window or delayed fallback.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
cli, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.