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
{{ message }}
Repository navigation
PowerShell 7.3 sends arguments to native apps differently #18617
The third and forth arguments are sent differently.
Expected behavior
see above
Actual behavior
see above
Error details
.
Environment data
Name Value
---------
PSVersion 7.3.0
PSEdition Core
GitCommitId 7.3.0
OS Microsoft Windows 10.0.19045
Platform Win32NT
PSCompatibleVersions {1.0,2.0,3.0,4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
So this might be a bug or unintended change. If this is the intended change then it's worth mentioning because it breaks the behavior existed for years.
James O'Neill (@jhoneill) Thank you. The suggested $PSNativeCommandArgumentPassing = 'Legacy' works as a workaround.
I agree that 7.3.0 works "better". But it clearly breaks things.
The change should be well documented and visible in release notes.
In the past, the PS team refused to fix some bugs for avoiding breaking effects like this.
Activity
nightroman commentedon Nov 18, 2022
The release notes do not mention this change -- https://github.com/PowerShell/PowerShell/releases/tag/v7.3.0
So this might be a bug or unintended change. If this is the intended change then it's worth mentioning because it breaks the behavior existed for years.
jhoneill commentedon Nov 18, 2022
See #18614
#18568
and #18554
nightroman commentedon Nov 19, 2022
James O'Neill (@jhoneill) Thank you. The suggested
$PSNativeCommandArgumentPassing = 'Legacy'works as a workaround.I agree that 7.3.0 works "better". But it clearly breaks things.
The change should be well documented and visible in release notes.
In the past, the PS team refused to fix some bugs for avoiding breaking effects like this.
I'm closing as the duplicate of other issues.