From 2396f7c7bc1e531c0bb78f0ac53e44d201ce9387 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 22 Feb 2022 09:36:11 -0800 Subject: [PATCH] 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. --- src/process.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/src/process.ts b/src/process.ts index d151138a41..507e195773 100644 --- a/src/process.ts +++ b/src/process.ts @@ -73,7 +73,6 @@ export class PowerShellProcess { } powerShellArgs.push("-NoProfile"); - powerShellArgs.push("-NonInteractive"); // Only add ExecutionPolicy param on Windows if (utils.isWindows) {