terminal: Escape strings with backticks rather than backslashes in PowerShell (#39657)
Closes #39007
Strings should be escaped with backticks in PowerShell, so the following
```
\"pwsh.exe -C pytest -m \\\"some_test\\\"\"
```
becomes
```
\"pwsh.exe -C pytest -m `\"some_test`\"\"
```
Otherwise PowerShell will misinterpret the invocation resulting in
weirdness all-around such as the issue linked above.
Release Notes:
- N/A
3106472bf3Jakub Konka committed on 10/7/2025, 5:30:09 PM· committed by GitHubparentd04ac86