# terminal: Escape strings with backticks rather than backslashes in PowerShell \(\#39657\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/3106472bf3388a2f96684fd518533cbf16e3b6c3)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: 3106472bf3388a2f96684fd518533cbf16e3b6c3

Requested commit: 3106472bf3388a2f96684fd518533cbf16e3b6c3

Commit: 3106472bf3388a2f96684fd518533cbf16e3b6c3

Tree: 1ff9a36cf34e40fcac996cc463d0703ea62e17a2

Author: Jakub Konka

Committer: GitHub

## Message

````
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
````

## Parents

- [d04ac864b8cb78ee888ce03323e34c17a6dd16b9](https://git.cafe/gitcafe/zed/commit/d04ac864b8cb78ee888ce03323e34c17a6dd16b9?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/3106472bf3388a2f96684fd518533cbf16e3b6c3?format=markdown)
