Closed thomas-haslwanter closed 3 years ago
The following works
"terminal": {
"args": ["C:/Users/thomas/AppData/Local/Microsoft/WindowsApps/wt.exe"],
"cwd": "{curr_dir}"
}
Note that I have installed Windows Terminal, and use the shortcut "wt" for it.
In my "Core Settings (Windows).json" I have the following settings for the fman terminal:
While this DOES open a powershell, it only opens it with "Execution-Policy" set to "restricted". This makes it impossible to run any (e.g. startup) scripts in this shell. In contrast, if I execute the same command from the command line, or in any other way I have tried (Terminal, Powershell), the new powershell opens with my default execution-policy ("unrestricted")
My question: why does fman open the terminal with a different execution policy, and how can I change that?