pty.js icon indicating copy to clipboard operation
pty.js copied to clipboard

Instant stop

Open BenasPaulikas opened this issue 10 years ago • 0 comments

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 ?

BenasPaulikas avatar Feb 16 '16 18:02 BenasPaulikas