visionmedia/commander — comment on commit f3c3f0bb2b089ee9b052a3bf904dbc083be3361b
File:  line 0
By juretta:

Another FYI and something I just noticed (but haven't verified) is that the order the pipes get closed seems to be wrong.

According to the docs (http://ruby-doc.org/core-1.8.7/IO.html#method-c-pipe):

> the two processes close the ends of the pipe that they are not using. This is not just a cosmetic nicety.
> The read end of a pipe will not generate an end of file condition if there are any writers with
> the pipe still open. In the case of the parent process, the rd.read will never return if it does not first issue a wr.close.