Did you know ... | Search Documentation: |
Predicate mqi_start/0 |
To launch embedded mode:
swipl mqi --write_connection_values=true
This will start SWI Prolog and invoke the mqi_start/0
predicate and exit the process when that predicate stops. Any command
line arguments after the standalone --
will be passed as
Options. These are the same Options that mqi_start/1
accepts and are passed to it directly. Some options are expressed
differently due to command line limitations, see mqi_start/1
Options for more information.
Any Option values that cause issues during command line parsing (such
as spaces) should be passed with ""
like this:
swipl mqi --write_connection_values=true --password="HGJ SOWLWW"
For help on commandline options run
swipl mqi --help