|Did you know ...||Search Documentation:|
|Command line options for running Prolog|
Note that boolean options may be written as
--no-name (false). They
are written as
--no-name below as the default is‘true'.
value is given, a Boolean value is used. If name is
no-flag, flag is set to
false. Otherwise, the flag name is set to
name[=value]may follow the
-Dimmediately or appear as the next commandline argument.
Note that many of the commandline options are reflected by a Prolog
flag. We intend to handle these as synonyms. Currently, some of the
commandline flags affect the Prolog initilization before loading the
saved state has completed, while other may not be changed after Prolog
initialization. For example, future versions will support
-Dhome=dir to change the notion of the Prolog installation
SIGINT) immediately. Normally debugging on interrupt is enabled when entering the interactive toplevel. This flag can be used to start the debugger on an interrupt while executing goals from -g or initialization/[1,2]. See also the Prolog flag debug_on_interrupt.
silent, suppressing informational and banner messages. Also available as -q.
false. See section 188.8.131.52 for details. Note that the handler to unblock system calls is still installed. This can be prevented using
--sigalert=0additionally. See --sigalert.
--pceload the xpce system in user space and
--no-pcemakes it unavailable in the session.
http://localhost:port. If port is specified, the server is started at the given port and the browser is not launched.
SIGUSR2. If NUM is 0 (zero), this handler is not installed. See prolog_alert_signal/2 to query or modify this value at runtime.
...\My Documents\Prologor local equivalent thereof (see win_folder/2). The
Prologsubdirectory is created if it does not exist.
init.pl.‘-f none’stops SWI-Prolog from searching for a startup file. This option can be used as an alternative to -s file that stops Prolog from loading the personal initialisation file. See also section 2.2.
<script>.rc. The default script name is deduced from the executable, taking the leading alphanumerical characters (letters, digits and underscore) from the program name. -F none stops looking for a script. Intended for simple management of slightly different versions. One could, for example, write a script
iso.rcand then select ISO compatibility mode using
pl -F isoor make a link from iso-pl to pl.
. On other systems it is
. A value is either a term of the form alias(value) or pathname. The computed aliases are added to file_search_path/2 using asserta/1, so they precede predefined values for the alias. See file_search_path/2 for details on using this file location mechanism.