I’m running Windows 11 with WT installed and as default terminal app.
For some reason, I want to run a 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.
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?
I looked for that setting in the setting.json
file of wt, so I can change it, but I didn’t find it.