help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

retaining interpreter when running script from command line


From: John W. Eaton
Subject: retaining interpreter when running script from command line
Date: Thu, 3 Mar 2005 12:44:31 -0500

On  3-Mar-2005, E. Joshua Rigler <address@hidden> wrote:

| I want to be able to run a script from the OS command line, but stay
| inside the interpreter after the script finishes executing.  In other
| words, if I type:
| 
| Unix Shell> octave script.m
| 
| ...I do NOT want Octave to exit upon completion of script.m.

If you convert your script to a function that takes no arguments, you
can use

  octave --funcall FUNC

jwe



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]