Does CMUCL provide a way to determine the location of the executable
that started it?

I understand that there's no portable solution that'll work for /all/
Unices but maybe there's a function that works on all systems CMUCL
has been ported to?

On Linux one could use something like

  (truename (format nil "/proc/~A/exe" (unix:unix-getpid)))

but that certainly isn't portable.

Thanks,
Edi.


Reply via email to