0
$\begingroup$

I'm connecting over ssh to a machine running Maple. Is there a way to run a script, let's say derp.mpl, such that after executing the script Maple is still running?

Something perhaps analogous to running python like this:

python -i derp.py 
  • 0
    http://www.mapleprimes.com/2012-04-26

1 Answers 1

2

The -F option allows the session to stay open (not quit) after completing whatever computation was started by the script.

maple -F derp.mpl 
  • 0
    In the command-line/terminal Maple interface (in Linux/Unix) you can use `!` in front of a command you want sent to the parent shell. You can also use the Maple commands `system` and `ssystem` in either the command-line or graphical-user (GUI) interfaces. See the Maple help-pages for those two commands.2017-02-23