User Tools

Site Tools


docs:tips_n_tricks:max_os_x:start_shell_command_by_appplescript.html

Start shell command by Applescript

To avoid opening a Terminal window when clicking on a shell command to run e.g. a macports application, create a simple Applescript with Apples “Applescript Editor” and save it “as Application”.

The code is as easy as this:

do shell script "/opt/local/bin/mycommand &> /dev/null &"

docs/tips_n_tricks/max_os_x/start_shell_command_by_appplescript.html.txt · Last modified: 23.04.2013 19:07 CEST by peter