Skip to content

Terminal.end does not kill the process #188

@nosemeocurrenada

Description

@nosemeocurrenada

The function in

pty.js/lib/pty.js

Lines 270 to 272 in fe63a41

Terminal.prototype.end = function(data) {
return this.socket.end(data);
};
calls net.Socket.end(), which does not kill the socket, as stated in https://nodejs.org/api/net.html#net_socket_end_data_encoding.
Is this behavior intended?

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