How do I make a program do a bash script on mac osx?
February 11th, 2010 | by admin |I have a mac osx.
Lets say I have a program that is nothing more then a button. You press this button and it will do a bash script.
Now I have the bash script and I have the code for the button, but how do I make it so when click on the button it will do a bash script?
The program will be using certain bash tools, such as cron.
If you have "the code for the button", you have a program. Just run the bash script, or fork to it, or whatever the language the program is written in uses to run a script. (Or do the functions of the script in the program and forget the script.)
One Response to “How do I make a program do a bash script on mac osx?”
By Colanth on Feb 11, 2010 | Reply
If you have "the code for the button", you have a program. Just run the bash script, or fork to it, or whatever the language the program is written in uses to run a script. (Or do the functions of the script in the program and forget the script.)
References :