In Writing Recipes in Other Languages, the documentation says
Recipes that start with a #! are executed as scripts, so you can write recipes in other languages
But it's not explained what "executing a recipe as a script" actually means. On Windows, if I have
set windows-shell := ["pwsh.exe", "-NoLogo", "-Command"]
I'm not at all clear what I should expect would happen with a recipe starting with #!. It would be great if this could be documented.