Add example of Windows shebang handling (#1709)
This commit is contained in:
parent
53fec7b449
commit
59ea5de781
@ -1811,7 +1811,9 @@ split shebang lines differently.
|
|||||||
Windows does not support shebang lines. On Windows, `just` splits the shebang
|
Windows does not support shebang lines. On Windows, `just` splits the shebang
|
||||||
line into a command and arguments, saves the recipe body to a file, and invokes
|
line into a command and arguments, saves the recipe body to a file, and invokes
|
||||||
the split command and arguments, adding the path to the saved recipe body as
|
the split command and arguments, adding the path to the saved recipe body as
|
||||||
the final argument.
|
the final argument. For example, on Windows, if a recipe starts with `#! py`,
|
||||||
|
the final command the OS runs will be something like `py
|
||||||
|
C:\Temp\PATH_TO_SAVED_RECIPE_BODY`.
|
||||||
|
|
||||||
### Safer Bash Shebang Recipes
|
### Safer Bash Shebang Recipes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user