User Tools

Site Tools


docs:tips_n_tricks:max_os_x:start_shell_command_by_appplescript.html

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

docs:tips_n_tricks:max_os_x:start_shell_command_by_appplescript.html [23.04.2013 19:07 CEST] (current)
peter created
Line 1: Line 1:
 +====== 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 &"
 +
 +{{tag>​OSX shell}}
 +{{entry>​OSX}}
 +{{entry>​shell}}
docs/tips_n_tricks/max_os_x/start_shell_command_by_appplescript.html.txt · Last modified: 23.04.2013 19:07 CEST by peter