LispWorks User Guide and Reference Manual > 34 The LISPWORKS Package

NextPrevUpTopContentsIndex

lisp-image-name

Function
Summary

Returns the name of the running image.

Package

lispworks

Signature

lisp-image-name => name

Arguments

None.

Values

name

A string.

Description

The function lisp-image-name returns a string representing the full path to the running LispWorks image. The example below is in typical LispWorks for Windows and LispWorks for Linux installations. In resaved and delivered images (including dynamic libraries such as Windows DLLs), the appropriate path is returned.

Example

On Windows:

CL-USER 1 > (lisp-image-name)
"C:\\Program Files\\LispWorks\\lispworks-6-0-0-x86-win32.exe"

On Linux:

CL-USER 1 > (lisp-image-name)
"/usr/bin/lispworks-6-0-0-x86-linux"
See also

*line-arguments-list*


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex