EIO when process ends

Open
#178 11 comments 0 reactions 1 assignee View on GitHub

@deepak1556 is already working on this.

Since Dec 19, 2025.

Assessment

This issue has not been assessed yet.

Description

bug help wanted

How to reproduce:

$ node --version
v8.5.0
$ cat package.json | grep node-pty
"node-pty": "^0.7.4",
$ node -e "
const node_pty = require('node-pty');
const pty = node_pty.spawn('bash');
pty.on('error', error => console.error(error));
pty.write('exit\r\n');
"
{ Error: read EIO
    at _errnoException (util.js:1026:11)
    at Pipe.onread (net.js:606:25) code: 'EIO', errno: 'EIO', syscall: 'read' }
Dominant language
TypeScript
Stars
2k
Forks
337
Avg merge
21h 58m
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from microsoft/node-pty

All issues in microsoft/node-pty

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.