David Golden <david.golden@oceanfree.net> wrote:
+---------------
| FWIW, linux programs, unless they're running in a funny
| restricted environment, can usually find their executable
| by following the /proc/self/exe symlink. Linux Is Not UniX. :-)
+---------------
On FreeBSD, said symlink is called "/proc/curproc/file":
cmu> (truename "/proc/curproc/file")
#P"/u/rpw3/src/cmd/cmucl-19c/bin/lisp"
cmu>
-Rob
-----
Rob Warnock <rpw3@rpw3.org>
627 26th Avenue <URL:http://rpw3.org/>
San Mateo, CA 94403 (650)572-2607