mirror of
https://github.com/nuintun/command-manager.git
synced 2025-10-20 01:27:47 +08:00
update files
This commit is contained in:
@@ -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();
|
||||||
|
Reference in New Issue
Block a user