diff options
author | Paul Moore <p.f.moore@gmail.com> | 2023-11-16 21:55:04 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-16 21:55:04 +0000 |
commit | 59ea5de7817cbd714670f297e2ec6e0272c16542 (patch) | |
tree | d10d766fcd84fec21647271cee9861b97e982db6 | |
parent | 53fec7b4495c6df7743af5583348125178fb1ee5 (diff) |
Add example of Windows shebang handling (#1709)
-rw-r--r-- | README.md | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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 |