Running applictions via ruby and multi-core support? (OSX)
- by Nick Faraday
Hi All,
I'm looking for some tutorials/resources/tips that will show me how to run applications via a ruby script. I have several small tools that we use in our day to day operations that I want to manage their tasks in one ruby script.
Basically what I'm trying to do is:
run app via ruby script.
(wait for result) get result code (success, or error msg)
if ok, start the app on its next task.
Also each of the tasks are independent so I'd like to take advantage of the 8 cores on my MacPro and run 8 instances at a time.
Any resources you could point me towards would be greatly appreciated!