Skip to content

Commit 0b5a6b7

Browse files
Евгений БлиновЕвгений Блинов
authored andcommitted
Hide the windows backslashes section
1 parent 41e5bc4 commit 0b5a6b7

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,8 @@ If you pass `split=False`, you must provide arguments in their final form:
122122
run('python', '-c', 'print(777)', split=False)
123123
```
124124

125+
<details>
126+
<summary>Windows has its own quirks when it comes to backslashes.</summary>
125127

126128
### Backslashes on Windows
127129

@@ -142,6 +144,8 @@ run(r'path\to\executable -c pass', double_backslash=True)
142144

143145
Note that this only affects string arguments that go through `shlex` splitting. `Path` objects and arguments passed with `split=False` are not affected.
144146

147+
</details>
148+
145149

146150
## Output
147151

0 commit comments

Comments
 (0)