Class | PTYBackgroundProcess |
In: |
lib/background_process/pty_background_process.rb
|
Parent: | BackgroundProcess |
Runs a subprocess in a pseudo terminal, tricking a program into not buffering its output.
A great write up on pseudo-terminals here: stackoverflow.com/questions/1154846/continuously-read-from-stdout-of-external-process-in-ruby
It has the following disadvantages: