pretty-print the qemu command line

well, pretty-ish
pull/2/head
Daniel Barlow 2023-12-05 17:31:18 +00:00
parent f2daa0b669
commit b519bd15df
1 changed files with 3 additions and 0 deletions

View File

@ -105,6 +105,9 @@
(appendm (local-net options.lan))
(appendm ["-display" "none"])))
(each [n a (ipairs exec-args)]
(print (.. (if (> n 1) " " "") (string.format "%q" a))))
(match exec-args
[cmd & params] (print (spawn cmd params)))