LispWorks User Guide and Reference Manual > 23 LispWorks' Operating Environment

NextPrevUpTopContentsIndex

23.4 The Command Line

The command line used to run LispWorks can be found using the variable *line-arguments-list*. The value is a list of strings containing the executable name followed by any other command line arguments, in the order they were passed.

For example, if your application needs to behave differently when passed an argument -foo , use the following test:

(member "-foo" sys:*line-arguments-list* :test 'string=)

23.4.1 Command Line Arguments


LispWorks User Guide and Reference Manual - 22 Dec 2009

NextPrevUpTopContentsIndex