--profile: 1 required TEST missing #17687

Closed
opened 2026-01-31 05:50:17 +00:00 by claunia · 4 comments
Owner

Originally created by @Andrew1988123123 on GitHub (Jun 11, 2022).

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

  1. Create profile named "u"
  2. Run wt -p "u"; nt -p "u"
  3. Error appear.
  4. "--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.

Originally created by @Andrew1988123123 on GitHub (Jun 11, 2022). ### 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 1. Create profile named "u" 2. Run wt -p "u"; nt -p "u" 3. Error appear. 4. "--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.
Author
Owner

@elsaco commented on GitHub (Jun 12, 2022):

@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"

wt_error

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

image

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

@elsaco commented on GitHub (Jun 12, 2022): @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"` ![wt_error](https://user-images.githubusercontent.com/3933920/173211316-d881b262-57c0-49f1-a4be-7a186852b3fb.png) and `wt -p "u" ; nt -p "u"` ![image](https://user-images.githubusercontent.com/3933920/173211276-06b28cec-5bb1-4289-a432-7a6a67bff184.png) 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`
Author
Owner

@zadjii-msft commented on GitHub (Jun 13, 2022):

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 🙃

@zadjii-msft commented on GitHub (Jun 13, 2022): 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 🙃
Author
Owner

@Andrew1988123123 commented on GitHub (Jun 13, 2022):

No big deal. I just have to remember adding space before ; . Even documentation say so.

@Andrew1988123123 commented on GitHub (Jun 13, 2022): No big deal. I just have to remember adding space before `;` . Even documentation say so.
Author
Owner

@ghost commented on GitHub (Sep 13, 2022):

:tada:This issue was addressed in #13706, which has now been successfully released as Windows Terminal Preview v1.16.252.🎉

Handy links:

@ghost commented on GitHub (Sep 13, 2022): :tada:This issue was addressed in #13706, which has now been successfully released as `Windows Terminal Preview v1.16.252`.:tada: Handy links: * [Release Notes](https://github.com/microsoft/terminal/releases/tag/v1.16.252) * [Store Download](https://www.microsoft.com/store/apps/9n8g5rfz9xk3?cid=storebadge&ocid=badge)
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#17687