Run many tabs from .bat file #5506

Closed
opened 2026-01-31 00:14:58 +00:00 by claunia · 2 comments
Owner

Originally created by @itamardavidyan on GitHub (Dec 11, 2019).

Now I use run.bat like this:

cd C:\code\repo
start cmd.exe /k "ng serve xxx-svc --port=7700"
start cmd.exe /k "ng serve yyy-svc --port=7701"
start cmd.exe /k "ng serve zzz-svc --port=7702"
...
...

I want all the services to open in the same wt.exe window. there is an option to do it?

Originally created by @itamardavidyan on GitHub (Dec 11, 2019). Now I use run.bat like this: ``` cd C:\code\repo start cmd.exe /k "ng serve xxx-svc --port=7700" start cmd.exe /k "ng serve yyy-svc --port=7701" start cmd.exe /k "ng serve zzz-svc --port=7702" ... ... ``` I want all the services to open in the same wt.exe window. there is an option to do it?
claunia added the Resolution-Duplicate label 2026-01-31 00:14:58 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Dec 11, 2019):

Hey thanks for the suggestion! We're actually working on a design for this feature currently! You can follow it's progress over in #3495. With the proposed design, you'll be able to run the following:

wt new-tab "ng serve xxx-svc --port=7700" ; new-tab "ng serve yyy-svc --port=7701" ; new-tab "ng serve zzz-svc --port=7702"

or even:

wt "ng serve xxx-svc --port=7700" ; "ng serve yyy-svc --port=7701" ; "ng serve zzz-svc --port=7702"

to achieve what you're looking for.

Largely, this is a /dupe of #607 and #756

@zadjii-msft commented on GitHub (Dec 11, 2019): Hey thanks for the suggestion! We're actually working on a design for this feature currently! You can follow it's progress over in #3495. With the proposed design, you'll be able to run the following: ``` wt new-tab "ng serve xxx-svc --port=7700" ; new-tab "ng serve yyy-svc --port=7701" ; new-tab "ng serve zzz-svc --port=7702" ``` or even: ``` wt "ng serve xxx-svc --port=7700" ; "ng serve yyy-svc --port=7701" ; "ng serve zzz-svc --port=7702" ``` to achieve what you're looking for. Largely, this is a /dupe of #607 and #756
Author
Owner

@ghost commented on GitHub (Dec 11, 2019):

Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!

@ghost commented on GitHub (Dec 11, 2019): Hi! We've identified this issue as a duplicate of another one that already exists on this Issue Tracker. This specific instance is being closed in favor of tracking the concern over on the referenced thread. Thanks for your report!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#5506