You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.
I'm working on a project which requires me to spawn a pseudo-terminal (native addon) and then handle its file descriptor to my NodeJS code for some remote terminal stuff purposes.
It works like a charm with node 0.10.x but it doesn't with 0.11.x nor 0.12.
Here's my C common code :
(For readability purposes I removed all error checking but there's none, all syscalls work fine)
Hello,
I'm working on a project which requires me to spawn a pseudo-terminal (native addon) and then handle its file descriptor to my NodeJS code for some remote terminal stuff purposes.
It works like a charm with node 0.10.x but it doesn't with 0.11.x nor 0.12.
Here's my C common code :
(For readability purposes I removed all error checking but there's none, all syscalls work fine)
Here's my node 0.10.32 C++ wrap :
Node 0.11.14 C++ wrap :
Compilation via node-gyp also works fine for both node versions.
And finally here's my JS code :
Result with node 0.10.32 (as expected we got output from our pseudo-terminal) :

Result with node 0.11.14 (we got nothing):

My stream doesn't respond to anything, I've also tried piping stdin into it.
Any thoughts on how and why node updates would affect this behaviour ?
Thanks.
The text was updated successfully, but these errors were encountered: