Skip to content

Commit 2fb293c

Browse files
Remove -NonInteractive from PowerShell startup sequence (#3847)
This command-line flag sets a low-level configuration within PowerShell that prevents Windows PowerShell from using interactive parameters in scripts (such as in `Get-Credential`).
1 parent 504e731 commit 2fb293c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/process.ts

-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,6 @@ export class PowerShellProcess {
7373
}
7474

7575
powerShellArgs.push("-NoProfile");
76-
powerShellArgs.push("-NonInteractive");
7776

7877
// Only add ExecutionPolicy param on Windows
7978
if (utils.isWindows) {

0 commit comments

Comments
 (0)