This might be an obvious question, but I haven't found an answer
in the docs or the source code. How does one change the default
working directory in sbcl?
In cmucl, it is (setf (ext:default-directory) "/new/directory")
but in sbcl, default-directory does not exist.
A solution using
(sb-alien:define-alien-routine ("chdir" unix-chdir) sb-alien:int
changes the directory as seen by sb-unix:posix-getcwd but
not as seen by the rest of sbcl - eg, not by (directory ".")
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard