-
Notifications
You must be signed in to change notification settings - Fork 252
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
EIO error after simple sleep #214
Comments
This is still happening on version |
Why are you using node-pty to launch |
@Tyriar Is that relevant? It's a SSCCE. I get the same behavior with other shell commands, but I haven't gone through the trouble of boiling them down to their most basic. |
@jmwilkinson yes, it seems like you're using the library in a way that it's not intended. Why not this:
And why sleep at all as it does nothing? |
@jmwilkinson the behavior is undefined as far as I'm concerned as the only way to run node-pty by design is when the executable is a shell - sure you get some obscure error which is no good, but you're doing something that makes no sense to me. |
For the sake of completeness, here is a variant attempting to execute a python shell:
|
I believe this is actually a duplicate of #178 |
Environment details
Issue description
EIO
error after running simple sleep command.SSCE:
Output:
This exit error is unexpected, and it is unclear why it is occurring.
The text was updated successfully, but these errors were encountered: