Next Prev Up Top Contents Index

19.4.1 Command Line Arguments

The following command line options are supported by the system.

-siteinit siteinit-file

siteinit-file names a file to be loaded on startup. The file is the LispWorks site initialization file, containing code that by default is loaded when LispWorks is started by any user in that installation. The default is to load the file that is the result of evaluating (sys:lispworks-file "config/siteinit.lisp") .

If siteinit-file is not found, an error is signalled. To suppress loading of a site initialization file, pass -siteinit - .

-init init-file

init-file names a file to be loaded on startup after siteinit-file . The file is user's own LispWorks initialization file, containing code that by default is loaded when LispWorks is started. It is useful for loading initializations that should not be done for all users.

Initially the default is to load the file "~/.lispworks" where ~ expands to the user's home directory. On Windows this path expands to

"C:/users/ username /.lispworks" .

Your default initialization file can be set in the Common LispWorks IDE via Tools > Global Preferences...

If init-file is not found, an error is signalled. To suppress loading of a user initialization file, pass -init - .

-environment

Start the Common LispWorks development environment automatically, even in an image saved with (save-image ... :environment nil)

-env

A synonym for -environment .

-display display

Sets the X display to use when starting a LispWorks GUI on X Windows.

-multiprocessing

Initializes multiprocessing on startup. See Multiprocessing.

-no-restart-function

Suppresses the execution of a restart function on startup. Restart functions can supplied when saving an image to automatically invoke application code. This argument suppresses that behavior. See save-image in the LispWorks Reference Manual .

-ORBport orbport

orbport specifies a port number for the LispWorks ORB. The special value 0 allows the system to pick a port.


LispWorks User Guide - 18 Feb 2003

Next Prev Up Top Contents Index