Skip to content

Commit 2396f7c

Browse files
committed
Remove -NonInteractive from PowerShell startup sequence
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`). It does not appear to be necessary for us to use this flag, so we're going to test without it.
1 parent 504e731 commit 2396f7c

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)