common lisp - get path to file

后端 未结 5 2382
南旧
南旧 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:19

    Perchance you want compile-file-pathname, which gives you the destination where compile-file would write into.

    It'd help if you provide more context on what you're trying to achieve.

提交回复
热议问题