summaryrefslogtreecommitdiff
path: root/util.lisp
diff options
context:
space:
mode:
authormRnea <akannemre@gmail.com>2024-07-29 23:15:38 +0300
committermRnea <akannemre@gmail.com>2024-07-29 23:15:38 +0300
commit004c2b5628ba2db3297829a76a1e3983c62926ab (patch)
treedd4abf91fceafe9fc69c07835a9c8da2f6dc5c82 /util.lisp
parent49b58b2d57eb9ae5a5d587bf6144f198797da0a2 (diff)
some arrangements to fix quirks of symbols in the executable program
note that (eq 'baz:foo bar:foo) is not true so some stuff that works in the repl fails in executable
Diffstat (limited to 'util.lisp')
-rw-r--r--util.lisp5
1 files changed, 3 insertions, 2 deletions
diff --git a/util.lisp b/util.lisp
index e4a9ccb..9f80adb 100644
--- a/util.lisp
+++ b/util.lisp
@@ -20,8 +20,9 @@
(defun mklist (form)
(if (listp form) form (list form)))
-(defun run (args &rest options)
- (format t "~{~a~^ ~}~%" args)
+(defun run (args &rest options &key &allow-other-keys)
+ (unless (eq t (getf options :silence))
+ (format t "~{~a~^ ~}~%" args))
(apply #'uiop:run-program args options))
(defun from-root (path)