terminal
terminal copied to clipboard
--profile: 1 required TEST missing
Windows Terminal version
Windows Terminal Version: 1.13.11432.0
Windows build number
Microsoft Windows [Version 10.0.22000.708]
Other Software
No response
Steps to reproduce
- Create profile named "u"
- Run wt -p "u"; nt -p "u"
- Error appear.
- "--profile: 1 required TEST missing"
Expected Behavior
New windows terminal is created with two tabs
Actual Behavior
The error pops up and Windows Terminal never opens. Screenshot of the error https://prnt.sc/y4Hi3Uir5as9 I think profile name is too short(one sign). Profile name with more than one sign works like a charm.
@Andrew1988123123 that's an interesting find! If you add a space between first profile name and semicolon then it works.
Sample output with wt -p "u"; nt -p "u"

and wt -p "u" ; nt -p "u"

This works with empty names also, "name": null , so wt -p "" ; nt -p "" would open two tabs. Maybe schema should be updated from null to string
Huh. Maybe I'm splitting things poorly on the ;, it's really weird that adding a space would fix this. Command-line parsing is hard 🙃
No big deal. I just have to remember adding space before ; . Even documentation say so.
:tada:This issue was addressed in #13706, which has now been successfully released as Windows Terminal Preview v1.16.252.:tada:
Handy links: