There was an error while loading. Please reload this page.
1 parent fc0bbe0 commit 8ce3b96Copy full SHA for 8ce3b96
1 file changed
Tests/Wait-ForKeyPress.Tests.ps1
@@ -4,7 +4,7 @@ Describe 'Wait-ForKeyPress' {
4
$command = "function Stop-Transcript {}; `$global:Silent = `$true; . '$scriptPath'; Wait-ForKeyPress"
5
$encodedCommand = [Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes($command))
6
7
- & (Join-Path $PSHOME 'pwsh.exe') -NoProfile -EncodedCommand $encodedCommand
+ & powershell.exe -NoProfile -EncodedCommand $encodedCommand
8
9
$LASTEXITCODE | Should -Be 0
10
}
0 commit comments