trentm/json — Issue #24: json dies with 'process.stdout cannot be closed' when piped to something that exits early (on node 0.6.x)
Author: joshwilsdon
Created: 2012-01-25 18:12:09+00:00
State: open

The simplest test case I've come up with for this is:

```
[root@headnode (coal:0) ~]# echo '{}' | json | /bin/false

node.js:284
throw new Error('process.stdout cannot be closed');
^
Error: process.stdout cannot be closed
at Socket. (node.js:284:15)
at Object.afterWrite [as oncomplete] (net.js:480:10)
[root@headnode (coal:0) ~]#
```