We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 28a77d4 commit 5711fadCopy full SHA for 5711fad
1 file changed
src/vs/workbench/contrib/tasks/browser/terminalTaskSystem.ts
@@ -1284,7 +1284,7 @@ export class TerminalTaskSystem implements ITaskSystem {
1284
if (platform === Platform.Platform.Windows) {
1285
if (basename === 'cmd' && commandQuoted && argQuoted) {
1286
commandLine = '"' + commandLine + '"';
1287
- } else if (basename === 'powershell' && commandQuoted) {
+ } else if ((basename === 'powershell' || basename === 'pwsh') && commandQuoted) {
1288
commandLine = '& ' + commandLine;
1289
}
1290
0 commit comments