title: Executing Shell Scripts from the OS X Dock?
body: <p>How do I set up a shell script to execute from the Mac OSX dock? It seems that simply creating a shortcut will open the file in my editor. Is there  a flag I need to set somewhere to tell it to run instead of opening it for editing?</p>