NextPrevUpTopContentsIndex

22.4 The Command Line

The command line used to run LispWorks can be found using the variable system:*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=)

22.4.1 Command Line Arguments


LispWorks User Guide - 7 Jul 2004

NextPrevUpTopContentsIndex