forked from dan/liminix
fennel: system: verbose log of command that was run
This commit is contained in:
parent
9b0149ecb7
commit
84fa8d65f4
|
@ -16,7 +16,7 @@
|
|||
|
||||
(fn system [s]
|
||||
(match (os.execute s)
|
||||
res res
|
||||
res (do (print (.. "Executed \"" s "\", exit code " (tostring res))) res)
|
||||
(nil err) (error (.. "Error executing \"" s "\" (" err ")"))))
|
||||
|
||||
(fn hash [str]
|
||||
|
|
Loading…
Reference in New Issue