mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-07 11:34:05 +08:00
update files
This commit is contained in:
parent
12e9d713c5
commit
50cdfcd589
@ -26,7 +26,7 @@ Emulator.prototype = {
|
|||||||
},
|
},
|
||||||
stop: function (){
|
stop: function (){
|
||||||
if (this.thread) {
|
if (this.thread) {
|
||||||
this.thread.kill('SIGKILL');
|
this.exec('taskkill /t /f /pid ' + this.thread.pid);
|
||||||
|
|
||||||
['stdin', 'stdout', 'stderr'].forEach(function (stream){
|
['stdin', 'stdout', 'stderr'].forEach(function (stream){
|
||||||
this.thread[stream].removeAllListeners();
|
this.thread[stream].removeAllListeners();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user