mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
made powershell invoke compatible with linux
This commit is contained in:
@@ -44,7 +44,7 @@ $pesterCommand | Export-Clixml -Path $testResultPath
|
||||
Write-Verbose -Message "command: '$command'" -Verbose
|
||||
$bytes = [System.Text.Encoding]::Unicode.GetBytes($command)
|
||||
$encodedCommand = [Convert]::ToBase64String($bytes)
|
||||
&"$PSHOME/Powershell.exe" -encodedCommand $encodedCommand
|
||||
&"$PSHOME/powershell" -encodedCommand $encodedCommand
|
||||
|
||||
it "Should have test results file" {
|
||||
$testResultPath | should exist
|
||||
|
||||
Reference in New Issue
Block a user