kamisama/Cake-Resque — pull request #76 by mfn (2014-11-27 18:46:37+00:00)
Title: Use custom console handler for stdout

The original cake ConsoleHandler uses fopen('php://stdout') which deep
down uses the C call 'dup' to duplicate stdout. However this can lead
to a worker not returning the shell, e.g.

`ssh host .../cake CakeResque.CakeResque start --queue test`

would hang without this change.

Fixes kamisama/Cake-Resque#75

----
Using a custom ConsoleHandler which does not open directly `php://stdout` was the only way avoiding the `dup()` call causes the hang when trying to instrument starting workers via ssh.