Add note to readme about quoting paths on Windows (#2166)
This commit is contained in:
parent
197e1002d0
commit
1c3c1dd3c0
11
README.md
11
README.md
@ -3647,6 +3647,17 @@ Node.js `package.json` files:
|
|||||||
export PATH := "./node_modules/.bin:" + env_var('PATH')
|
export PATH := "./node_modules/.bin:" + env_var('PATH')
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Paths on Windows
|
||||||
|
|
||||||
|
On Windows, functions that return paths will return `\`-separated paths. When
|
||||||
|
not using PowerShell or `cmd.exe` these paths should be quoted to prevent the
|
||||||
|
`\`s from being intepreted as character escapes:
|
||||||
|
|
||||||
|
```just
|
||||||
|
ls:
|
||||||
|
echo '{{absolute_path(".")}}'
|
||||||
|
```
|
||||||
|
|
||||||
### Alternatives and Prior Art
|
### Alternatives and Prior Art
|
||||||
|
|
||||||
There is no shortage of command runners! Some more or less similar alternatives
|
There is no shortage of command runners! Some more or less similar alternatives
|
||||||
|
Loading…
Reference in New Issue
Block a user