From 59ea5de7817cbd714670f297e2ec6e0272c16542 Mon Sep 17 00:00:00 2001 From: Paul Moore Date: Thu, 16 Nov 2023 21:55:04 +0000 Subject: [PATCH] Add example of Windows shebang handling (#1709) --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index fc465a5..09368f0 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