You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Basically, it prevents pwsh from stripping the " characters from strings passed into executables:
echo.exe"test `"str`""
powershell>$PSVersionTable.PSVersion
Major Minor Build Revision
-----------------------51190412364
powershell>$text="test `"str`""
powershell>Write-Host$text
test "str"
powershell>echo.exe$text
test str
pwsh>$PSVersionTable.PSVersion
Major Minor Patch
---------------733
pwsh>$text="test `"str`""
pwsh>Write-Host$text
test "str"
pwsh>echo.exe$text
test "str"
I'll look into that.
The text was updated successfully, but these errors were encountered:
Currently, tests here are executed within
PowerShell 7.2.9
.However, when one executes tests within
PowerShell 7.3.3
, a few tests usingtest-vsts-pr
alias are failing. I believe it is because of breaking feature toggle:$PSNativeCommandArgumentPassing
.Basically, it prevents
pwsh
from stripping the"
characters from strings passed into executables:I'll look into that.
The text was updated successfully, but these errors were encountered: