ddollar/foreman — pull request #202 by sos4nt (2012-05-18 16:12:41+00:00)
Title: Refactor process launching

I've refactored process launching to always use spawn, i.e. `Process.spawn` for Ruby 1.9 and `POSIX::Spawn.spawn` for Ruby 1.8 and JRuby.

Furthermore I've re-added support for `PTY` to address the [missing output](https://github.com/ddollar/foreman/wiki/Missing-Output) issue. Ruby doesn't buffer `stdout` when a `tty` is present. `stdin` on the other hand is closed to keep processes from expecting user input.

I've also removed `foreman-runner` since the tests are passing without it.

Let me know what you think.