Executing Shell Scripts from the OS X Dock?

前端 未结 9 1735
自闭症患者
自闭症患者 2020-12-22 17:15

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 som

9条回答
  •  萌比男神i
    2020-12-22 18:01

    I think this thread may be helpful: http://forums.macosxhints.com/archive/index.php/t-70973.html

    To paraphrase, you can rename it with the .command extension or create an AppleScript to run the shell.

提交回复
热议问题