Create a MacOS X App Bundle Using MacPorts: Difference between revisions

Jump to navigation Jump to search
Line 65: Line 65:
tell application "Terminal"
tell application "Terminal"
# The script "launch_octave" will call the octave shell script and then close
# The script "launch_octave" will call the octave shell script and then close
  # this AppleScript when octave exits.
# this AppleScript when octave exits.
do script quoted form of POSIX path of (path to me) & "Contents/Resources/bin/launch_octave '" & (name of me) & "'; sleep 1; exit"
do script quoted form of POSIX path of (path to me) & "Contents/Resources/bin/launch_octave '" & (name of me) & "'; sleep 1; exit"
end tell</nowiki>
end tell</nowiki>