1

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
C-o-r-E
  • 135
  • I realize that this is actually a bad question (about Maple rather than math) however It still seems to be the most appropriate stack exchange site for this. Sorry in advance! – C-o-r-E Apr 26 '12 at 20:49
  • http://www.mapleprimes.com/ –  Apr 26 '12 at 23:16

1 Answers1

4

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

maple -F derp.mpl
acer
  • 5,293
  • Hi, what if I want to run a script from the Maple command line ?

    Is it possible to access to the terminal of the unix system in Maple itself ? (like in Mathematica, we can access it by ! my command)

    – Smilia Feb 23 '17 at 09:38
  • 1
    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. – acer Feb 23 '17 at 18:31