Windows/tabs created with "wt new-tab COMMAND" start with the title of the default Terminal profile, not the COMMAND name #9421

Open
opened 2026-01-31 01:54:05 +00:00 by claunia · 0 comments
Owner

Originally created by @metathinker on GitHub (Jul 3, 2020).

Originally assigned to: @DHowett on GitHub.

Environment

Windows build number: Windows 10 ver. 2004 build 19041.329
Windows Terminal version (if applicable): 1.1.1812.0

Steps to reproduce

  1. While Terminal is closed, delete or rename your settings.json file, causing Terminal to revert to the default settings under which the built-in Windows PowerShell profile for Terminal {61c54bbd-c2c6-5271-96e7-009a87ff44bf} is the default one.
  2. Run this command: wt.exe C:\Windows\System32\robocopy.exe

Expected behavior

The title of the Terminal tab created is "C:\Windows\System32\robocopy.exe" or similar.

Actual behavior

The title of the Terminal tab created is "Windows PowerShell".
(If you watch Task Manager or another process listing, you can see that no PowerShell process was ever started.)

Originally created by @metathinker on GitHub (Jul 3, 2020). Originally assigned to: @DHowett on GitHub. ### Environment **Windows build number:** Windows 10 ver. 2004 build 19041.329 **Windows Terminal version (if applicable):** 1.1.1812.0 ### Steps to reproduce 1. While Terminal is closed, delete or rename your `settings.json` file, causing Terminal to revert to the default settings under which the built-in Windows PowerShell profile for Terminal `{61c54bbd-c2c6-5271-96e7-009a87ff44bf}` is the default one. 1. Run this command: `wt.exe C:\Windows\System32\robocopy.exe` ### Expected behavior The title of the Terminal tab created is "C:\Windows\System32\robocopy.exe" or similar. ### Actual behavior The title of the Terminal tab created is "Windows PowerShell". (If you watch Task Manager or another process listing, you can see that no PowerShell process was ever started.)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#9421