common lisp - get path to file

后端 未结 5 2384
南旧
南旧 2021-02-19 19:49

In Common Lisp, is there a way to get the path to a compiled file (something like current-directory)?

The file is not inside the current-directory folder.

5条回答
  •  梦如初夏
    2021-02-19 20:15

    You can use:

    *default-pathname-defaults*
    

    Please see http://cybertiggyr.com/gene/pathnames-0/node11.html

提交回复
热议问题