Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
How Do I Get Finder to Execute a Bash Script?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mac57" data-source="post: 219347" data-attributes="member: 17052"><p>I have created a shell script that I would ideally like to have Finder cause to execute when I double click on it. I created the script, changed its permissions so that it was executable, and then tested it from within Terminal.app. It works fine there. However, when I simply double click on the file from within a Finder window, it treats it like a text file and opens it in TextEdit.app. How can I make it execute the file instead? Thanks!</p></blockquote><p></p>
[QUOTE="mac57, post: 219347, member: 17052"] I have created a shell script that I would ideally like to have Finder cause to execute when I double click on it. I created the script, changed its permissions so that it was executable, and then tested it from within Terminal.app. It works fine there. However, when I simply double click on the file from within a Finder window, it treats it like a text file and opens it in TextEdit.app. How can I make it execute the file instead? Thanks! [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
How Do I Get Finder to Execute a Bash Script?
Top