fennel: system: verbose log of command that was run

This commit is contained in:
Daniel Barlow 2024-02-21 19:27:14 +00:00
parent 9b0149ecb7
commit 84fa8d65f4

View file

@ -16,7 +16,7 @@
(fn system [s] (fn system [s]
(match (os.execute s) (match (os.execute s)
res res res (do (print (.. "Executed \"" s "\", exit code " (tostring res))) res)
(nil err) (error (.. "Error executing \"" s "\" (" err ")")))) (nil err) (error (.. "Error executing \"" s "\" (" err ")"))))
(fn hash [str] (fn hash [str]