In clisp, the following code works:
(defun hit-history () (shell \"tail ssqHitNum.txt\"))
However, in Clozure CL, the shell fu
Yes, with UIOP, part of ASDF, that should be included in all modern implementations.
uiop:run-program uiop:launch-program So for example
(uiop:run-program (list "firefox" "http:url") :output t)
or
(defparameter *shell* (uiop:launch-program "bash" :input :stream :output :stream))
where you can send input and read output.
They are more explained here: https://lispcookbook.github.io/cl-cookbook/os.html#running-external-programs
trivial-shell is deprecated and replaced by inferior-shell, which internally uses the portable uiop's run-program (synchronous), so we can use just that.