fennel: system: verbose log of command that was run
This commit is contained in:
parent
9b0149ecb7
commit
84fa8d65f4
1 changed files with 1 additions and 1 deletions
|
@ -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]
|
||||||
|
|
Loading…
Reference in a new issue