How to change SBCL's current directory?

前端 未结 5 1901
孤街浪徒
孤街浪徒 2021-02-08 10:25

It is very easy to change CLisp\'s current working directory:

>cat ~/.clisprc.lisp 
;;; The following lines added by ql:add-to-init-file:
#-quicklisp         


        
5条回答
  •  既然无缘
    2021-02-08 11:12

    CL-USER> (sb-posix:chdir "/home/apugachev")
    0
    CL-USER> (sb-posix:getcwd)
    "/home/apugachev"
    CL-USER> (sb-posix:chdir "/tmp/")
    0
    CL-USER> (sb-posix:getcwd)
    "/tmp"
    

提交回复
热议问题