This repository has been archived by the owner. It is now read-only.

process.stdin usage halts application #2130

Closed
indutny opened this Issue Nov 16, 2011 · 6 comments

Comments

Projects
None yet
4 participants
Member

indutny commented Nov 16, 2011

Try saving this as 1.js and running node 1.js

process.stdin

Expected behaviour: script should terminate

Member

bnoordhuis commented Nov 16, 2011

Yes, known bug. Dup of #1934.

@bnoordhuis bnoordhuis closed this Nov 16, 2011

arikon commented Jan 30, 2012

The bug is still actual on node 0.6.9.

@indutny indutny reopened this Jan 31, 2012

Member

indutny commented Jan 31, 2012

@bnoordhuis confirming. reopening.

arikon commented Jan 31, 2012

One can use process.stdin.pause() as a workaround

This is fixed and can be closed.

Member

indutny commented Jun 17, 2012

Thanks man

@indutny indutny closed this Jun 17, 2012

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.