I am on windows 10 and my default shell in vscode is git bash which is used by all tasks.
For a specific task, I want to use powershell. Is this possible
{
"label": "sometask",
"type": "shell",
"command": "sam build",
"group": "test"
}
For the following worked.
https://code.visualstudio.com/docs/editor/tasks#_common-questions
{
"version": "2.0.0",
"windows": {
"options": {
"shell": {
"executable": "cmd.exe",
"args": [
"/d", "/c"
]
}
}
},
...