[info-mcl] User's Home Directory
Glen Foy
lisp at clairvaux.org
Fri Jul 24 09:25:59 CDT 2009
How can you get the user's home directory in 5.2?
(user-homedir-pathname) returns the user's home directory in CCL, but
in MCL it returns the MCL folder. This is not a error. The HyperSpec
says the value returned is implementation dependent.
In RMCL I can use Brendan Burns' bsd.lisp, which cleverly lets you
run shell commands. But that code needs some updating for 5.2.
Is there another way of doing this?
-- Glen
More information about the info-mcl
mailing list