Skip to content

[wxMaxima] Command line arguments

Parlazo edited this page Apr 15, 2021 · 1 revision

Most operating systems provide less complicated ways of starting programs than the command line so this possibility is only rarely used. wxMaxima still provides some command line switches, though.

-v or --version : Output the version information.
-h or --help : Output a short help text.
-o or --open=<str> : Open the filename given as argument to this command-line switch.
-e or --eval : Evaluate the file after opening it.
-b or --batch : If the command-line opens a file all cells in this file are evaluated and the file is saved afterwards. This is for example useful if the session described in the file makes Maxima generate output files. Batch-processing will be stopped if wxMaxima detects that Maxima has output an error and will pause if Maxima has a question: Mathematics is somewhat interactive by nature so a completely interaction-free batch processing cannot always be guaranteed.
--logtostdout : Log all “debug messages” sidebar messages to stderr, too.
--pipe : Pipe messages from Maxima to stdout.
--exit-on-error : Close the program on any maxima error.
-f or --ini=<str> : Use the init file that was given as argument to this command-line switch.
-u or --use-version=<str> : Use maxima version <str>.
-l or --lisp=<str> : Use a Maxima compiled with Lisp compiler <str>.
-X or --extra-args=<str> : Allows to specify extra Maxima arguments.
-m or --maxima=<str> : Allows to specify the location of the maxima binary.
--enableipc : Lets Maxima control wxMaxima via interprocess communications. Use this option with care.

Instead of a minus some operating systems might use a dash in front of the command-line switches.

Clone this wiki locally