# use python3 to execute recipe lines and backticks
set shell := ['python', "-c"]
# use print to capture result of evaluation
foos := `print("foo" * 4)`
foo:
print("{{foos}}")
Has a strange error I don't understand the cause of, why did the closing " disappear, and what's up with ")int("?
just foo
")int("foofoofoofoo
File "<string>", line 1
print("foofoofoofoo
^
SyntaxError: unterminated string literal (detected at line 1)
error: Recipe `foo` failed on line 6 with exit code 1
Direct invocation works
But the example from the ReadMe fails
Has a strange error I don't understand the cause of, why did the closing
"
disappear, and what's up with")int("
?Python 3.12, Windows 10, tried in cmd, pwsh,