I’m running Windows 11 with WT installed and wt as the default terminal app.
For some reason, I want to run the ps1 file without going through windows terminal.
Therefore, maybe I have to change the wt settings when running the file, then return it to the original settings when finished.
I looked for that setting in the setting.json
file, I didn’t find it.
Basically, I just need to change the following settings via script:
change it from windows terminal
to windows console host
, then return it to default when done.
How do I do it programmatically?