You can clone with
Try saving this as 1.js and running node 1.js
Expected behaviour: script should terminate
Yes, known bug. Dup of #1934.
The bug is still actual on node 0.6.9.
@bnoordhuis confirming. reopening.
One can use process.stdin.pause() as a workaround
This is fixed and can be closed.