Skip to content

wt.exe vs WindowsTerminal.exe #18474

Answered by DHowett
AdreKiseque asked this question in Q&A
Jan 29, 2025 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

This is an excellent question that points to a terrible truth. Here's the pull request that introduced wt as a totally separate executable: #6860

Excerpting some of its body. I've added notes inline with ed:.

Due to a shell limitation, Ctrl+Shift+Enter will not launch Windows Terminal as Administrator. This is caused by the app execution alias (ed: wt) and the actual targeted executable (ed: WindowsTerminal) not having the same name.

In addition, PowerShell has an issue detecting app execution aliases as GUI/TUI applications. When you run wt (ed: aliased to WindowsTerminal) from PowerShell, the shell will wait for WT to exit before returning to the prompt. Having a shim that immediately …

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@AdreKiseque
Comment options

@DHowett
Comment options

@AdreKiseque
Comment options

@DHowett
Comment options

Answer selected by AdreKiseque
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants