Skip to content

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

@metathinker

Description

@metathinker

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.)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions