Running applictions via ruby and multi-core support? (OSX)

Posted by Nick Faraday on Stack Overflow See other posts from Stack Overflow or by Nick Faraday
Published on 2010-03-20T01:08:47Z Indexed on 2010/03/20 1:11 UTC
Read the original article Hit count: 221

Filed under:
|

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:

  1. run app via ruby script.
  2. (wait for result) get result code (success, or error msg)
  3. 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!

© Stack Overflow or respective owner

Related posts about ruby

Related posts about osx