We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5793ca commit e60ed9aCopy full SHA for e60ed9a
1 file changed
src/features/terminal/runInTerminal.ts
@@ -29,9 +29,8 @@ export async function runInTerminal(
29
}
30
});
31
if (shellType === ShellConstants.PWSH && !executable.startsWith('&')) {
32
- executable = quoteArgs([executable, ...allArgs]).join(' ');
33
// PowerShell requires commands to be prefixed with '&' to run them.
34
- executable = `& ${executable}`;
+ executable = `& "${executable}"`;
35
36
execution = terminal.shellIntegration.executeCommand(executable, allArgs);
37
await deferred.promise;
0 commit comments