Skip to content

pty.resize - ioctl failed. #187

@LaKing

Description

@LaKing

I get this error and crashes my app from time to time.

/usr/lib/node_modules/pty.js/lib/pty.js:354
pty.resize(this.fd, cols, rows);
^

Error: ioctl(2) failed.
at Error (native)
at Terminal.resize (/usr/lib/node_modules/pty.js/lib/pty.js:354:7)

.. I think this happens if the pid of the emulated tty is closed.

How could I fix it so it does not crah my app. What should I check on the pty object?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions