ddollar/foreman — pull request #157 by yawn (2012-02-23 11:00:04+00:00)
Title: (Also) allow hashes in engine definitions

This makes it easy to use foreman programmatically (e.g. in Rake tasks) like this (example assumes to reside in this forks root directory and [watch](http://linux.die.net/man/1/watch) being available on $PATH):

```ruby
$:.unshift 'lib'
require 'foreman'
require 'foreman/engine'

`touch watch.tmp`

procs = {
'watch' => 'watch ls -l >> watch.tmp',
'tail' => 'tail -f watch.tmp'
}

engine = Foreman::Engine.new procs, :app_root => File.dirname(__FILE__)
engine.start
```