Next Prev Up Top Contents Index

19.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 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=)

19.4.1 Command Line Arguments


LispWorks User Guide - 18 Feb 2003

Next Prev Up Top Contents Index