microsoft / node-pty

Fork pseudoterminals in Node.JS
Other
1.43k stars 232 forks source link

node-pty process is not kill #568

Closed vidhimultiqos closed 1 year ago

vidhimultiqos commented 1 year ago

Environment details

Issue description

While I am killing a session of node-pty, it is not killing. All data appear in the next tab which is opened. Before: image image

After: Closing First tab: image

Data are rending in the second tab automatically.

process.kill(ptyProcess.pid)

or

ptyProcess.kill()

Above both syntax are not working

Tyriar commented 1 year ago

I'm not sure what I'm looking at in the screenshots, is there meant to be a shell process I'm not seeing?