minor change to run to make it more generic

This commit is contained in:
2024-07-29 00:36:06 +03:00
parent d1481f2770
commit 49b58b2d57
3 changed files with 20 additions and 16 deletions

View File

@@ -20,9 +20,9 @@
(defun mklist (form)
(if (listp form) form (list form)))
(defun run (args)
(defun run (args &rest options)
(format t "~{~a~^ ~}~%" args)
(uiop:run-program args :output *standard-output*))
(apply #'uiop:run-program args options))
(defun from-root (path)
(merge-pathnames path (asdf:system-source-directory :cl-forth)))