Start in WT? #5059

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

Originally created by @Timothep on GitHub (Nov 18, 2019).

I'm not sure if this is already a way to do this or not...

I have two long running python scripts that I run from Powershell. Instead of opening two PS Windows and then calling the the scripts manually, I created a batch file that spins up two instances of Powershell and calls the scripts on each:

start powershell -noexit -executionpolicy remotesigned .\some_path\script.py -somearguments

I was wondering if there is a way to tell it to spin the Powershell windows inside the new Windows Terminal?

Originally created by @Timothep on GitHub (Nov 18, 2019). I'm not sure if this is already a way to do this or not... I have two long running python scripts that I run from Powershell. Instead of opening two PS Windows and then calling the the scripts manually, I created a batch file that spins up two instances of Powershell and calls the scripts on each: `start powershell -noexit -executionpolicy remotesigned .\some_path\script.py -somearguments` I was wondering if there is a way to tell it to spin the Powershell windows inside the new Windows Terminal?
claunia added the Issue-FeatureResolution-Duplicate labels 2026-01-31 00:03:58 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Nov 18, 2019):

Funnily enough, I literally just replied to an internal mail thread on this exact question. From that thread:

It might be more possible once commandline args (#607/#3495) lands, though that’s not really slated for 1.0. With that, you'd be able to call wt.exe <some command> and have that run <some command> in a Windows Terminal window.
We do have plans to enable users to configure their “default terminal emulator” on Windows, though that won’t land for a while. You can track the that request at microsoft/terminal#492.

Broadly, this is a /dup of #492, so I'll direct conversation to that thread. Thanks!

@zadjii-msft commented on GitHub (Nov 18, 2019): Funnily enough, I literally _just_ replied to an internal mail thread on this exact question. From that thread: > It _might_ be more possible once commandline args (#607/#3495) lands, though that’s not really slated for 1.0. With that, you'd be able to call `wt.exe <some command>` and have that run `<some command>` in a Windows Terminal window. > We do have plans to enable users to configure their “default terminal emulator” on Windows, though that won’t land for a while. You can track the that request at microsoft/terminal#492. Broadly, this is a /dup of #492, so I'll direct conversation to that thread. Thanks!
Author
Owner

@ghost commented on GitHub (Nov 18, 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 (Nov 18, 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#5059