[Process] Fix #9160 : escaping an argument with a trailing backslash on windows fails
bug #10429 [2.3][Process] Fix #9160 : escaping an argument with a trailing backslash on windows fails (romainneutron)

This PR was merged into the 2.3 branch.

Discussion
----------

[2.3][Process] Fix #9160 : escaping an argument with a trailing backslash on windows fails

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #9160
| License       | MIT

Commits
-------

10e903a [Process] Fix #9160 : escaping an argument with a trailing backslash on windows fails