Re: LISP-IMAGE-NAME?
Kiyoshi Mizumaru <[email protected]> Tue, 19 Apr 2005 11:16:39 +0900
| Newsgroups | gmane.lisp.allegro |
|---|---|
| Message-ID | <[email protected]> |
excerpt from http://www.franz.com/support/documentation/7.0/doc/operators/system/ command-line-arguments.htm The path of the executable Note that the zeroth argument is the name of the executable as entered in the command line, with or without path information. That is, the 0th argument may be, say, "mlisp" (without path information) or may be, say, "/usr/local/acl70/mlisp" (with path information). If path information is not provided and you need it, evaluating (translate-logical-pathname (concatenate 'string "sys:" (sys:command-line-argument 0))) will typically work. (But that form signals an error when path information is provided.) Hope this helps, Kiyoshi. On 2005/04/19, at 7:12, Edi Weitz wrote: > which means I won't be able to get at the full path.