Does there exist standard way to run external program in Common Lisp?

前端 未结 6 1676
佛祖请我去吃肉
佛祖请我去吃肉 2021-01-11 15:07

In clisp, the following code works:

(defun hit-history () (shell \"tail ssqHitNum.txt\"))

However, in Clozure CL, the shell fu

6条回答
  •  灰色年华
    2021-01-11 15:58

    The following shows an example of calling wget from within common lisp:

    https://diasp.eu/posts/1742240

    Here's the code:

    (sb-ext:run-program "/usr/bin/wget" '("-O" "" "") :output *standard-output*) 
    

提交回复
热议问题