Add note to readme about quoting paths on Windows (#2166)

This commit is contained in:
Casey Rodarmor 2024-06-14 22:32:07 -07:00 committed by GitHub
parent 197e1002d0
commit 1c3c1dd3c0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3647,6 +3647,17 @@ Node.js `package.json` files:
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
There is no shortage of command runners! Some more or less similar alternatives