summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Moore <p.f.moore@gmail.com>2023-11-16 21:55:04 +0000
committerGitHub <noreply@github.com>2023-11-16 21:55:04 +0000
commit59ea5de7817cbd714670f297e2ec6e0272c16542 (patch)
treed10d766fcd84fec21647271cee9861b97e982db6
parent53fec7b4495c6df7743af5583348125178fb1ee5 (diff)
Add example of Windows shebang handling (#1709)
-rw-r--r--README.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/README.md b/README.md
index fc465a5b..09368f02 100644
--- a/README.md
+++ b/README.md
@@ -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