Octave for macOS: Difference between revisions

Small edit to add an applescript which finds the path to octave properly.
(Small edit to add an applescript which finds the path to octave properly.)
Line 75: Line 75:
  tell application "Terminal"
  tell application "Terminal"
   do script "/path/to/octave; exit"
   do script "/path/to/octave; exit"
end tell
</code>
or if Octave is in your default path:
<code>
tell application "Terminal"
  do script "`which octave`; exit"
  end tell
  end tell


Anonymous user