-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tty: process.stdin.write() throws #22905
Comments
cc @addaleax |
I think it would be okay to keep this the way it is – if we do want to provide a better error message, we should probably create a custom one for |
And, again, I think this is a bug – stdin could definitely be a duplex or writable stream. And |
cc @cjihrig |
I'm ok in keeping it the way it is now. |
Should this remain open or be closed? |
As far as I can tell, this has actually been fixed (partially in libuv). → Closing! |
This behavior is a regression caused by libuv (see libuv/libuv#1936 and #21654).
Currently:
Throws
Is this error acceptable/understandable, or should we do a custom error like #21654?
The text was updated successfully, but these errors were encountered: