Skip to content

Commit

Permalink
Add example of Windows shebang handling (#1709)
Browse files Browse the repository at this point in the history
  • Loading branch information
pfmoore authored Nov 16, 2023
1 parent 53fec7b commit 59ea5de
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1811,7 +1811,9 @@ split shebang lines differently.
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
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

Expand Down

0 comments on commit 59ea5de

Please sign in to comment.