pty.js
pty.js copied to clipboard
Instant stop
My scenario:
pty.spawn('program.exe').on('exit', function(){
});
//Without any delay I call windows function to kill all program.exe
And I don't get any on exit callback, however If I do set timeout on that kill I get on exit callback.
Any solutions ?