PowerShell 5.1 ext cmd argument quoting

What does this MR do?

This MR implements https://gist.github.com/bilbothebaggins/efbbc2312ec72c4967622b340e4b26d6 which handles the required quoting to pass arguments to an external command when called from PowerShell Desktop (aka 5.1)

Why was this MR needed?

I encountered this issue when trying to set an empty git credential.helper while working on !5430 (merged).
This answer explains in great detail what is happening : https://stackoverflow.com/a/59681993/12274205

What's the best way to test this MR?

What are the relevant issue numbers?

Edited by Guillaume Chauvel

Merge request reports

Loading