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
Run bash script via button in interface builder?
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="Bwoe" data-source="post: 1187897" data-attributes="member: 192683"><p>Hi, </p><p>I've searched for the answer to this for days and have hit a wall, hoping someone can help. With interface builder and Xcode, i've built an app that opens applescripts when buttons are pressed. This is working fine, but I need one of the buttons to run a #!/bin/bash script. I've worked around it by creating an applescript which just opens the bash script, but (with my limited knowledge) this required a specific path to the file, and i'd like to have interface builder just run the bash script on it's own when the button is pressed. </p><p></p><p>Thanks for any responses, any help is greatly appreciated.</p><p>Bwoe</p></blockquote><p></p>
[QUOTE="Bwoe, post: 1187897, member: 192683"] Hi, I've searched for the answer to this for days and have hit a wall, hoping someone can help. With interface builder and Xcode, i've built an app that opens applescripts when buttons are pressed. This is working fine, but I need one of the buttons to run a #!/bin/bash script. I've worked around it by creating an applescript which just opens the bash script, but (with my limited knowledge) this required a specific path to the file, and i'd like to have interface builder just run the bash script on it's own when the button is pressed. Thanks for any responses, any help is greatly appreciated. Bwoe [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Run bash script via button in interface builder?
Top