Skip to content

wt command-line cannot consistently parse more than one argument #4618

@Jaykul

Description

@Jaykul

Bottom line: the more arguments I put on wt the less likely it is to work. This is currently unusable even for launching the app clean.

Something like this, in a run dialog:

wt new-tab -p "PowerShell Core"; split-pane -H -p "Windows PowerShell"; split-pane -p cmd

Seems to work less than one time in five on my computer. Most of the time I get two panes, not three, and occasionally only one.

Environment

Windows build number: Microsoft Windows [Version 10.0.18363.657]
Windows Terminal Version: 0.9.433.0

Steps to reproduce

Run the command above from a run dialog a half dozen times

Expected behavior

The window should open the same way every time, with three panes, one for each of the shells I have in Windows...

Actual behavior

Sometimes just PowerShell Core, sometimes both PowerShells, rarely all three including cmd.

Metadata

Metadata

Assignees

Labels

Area-Commandlinewt.exe's commandline argumentsIssue-BugIt either shouldn't be doing this or needs an investigation.Needs-Tag-FixDoesn't match tag requirementsPriority-1A description (P1)Product-TerminalThe new Windows Terminal.Resolution-Fix-CommittedFix is checked in, but it might be 3-4 weeks until a release.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions