diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/VcpkgPowershellUtils.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/VcpkgPowershellUtils.ps1 b/scripts/VcpkgPowershellUtils.ps1 index 06fc458f7..63da1a508 100644 --- a/scripts/VcpkgPowershellUtils.ps1 +++ b/scripts/VcpkgPowershellUtils.ps1 @@ -188,7 +188,7 @@ function vcpkgInvokeCommandClean() $command = "& `"$cleanEnvScript`"; & `"$executable`" $arguments" $bytes = [System.Text.Encoding]::Unicode.GetBytes($command) $encodedCommand = [Convert]::ToBase64String($bytes) - $arg = "-encodedCommand $encodedCommand" + $arg = "-NoProfile -ExecutionPolicy Bypass -encodedCommand $encodedCommand" $process = Start-Process -FilePath powershell.exe -ArgumentList $arg -PassThru -NoNewWindow Wait-Process -InputObject $process |
