mirror of
https://github.com/nuintun/command-manager.git
synced 2025-12-18 00:44:28 +08:00
update files
This commit is contained in:
@@ -26,7 +26,13 @@ Emulator.prototype = {
|
||||
},
|
||||
stop: function (){
|
||||
if (this.thread) {
|
||||
this.thread.kill('SIGTERM');
|
||||
this.thread.kill('SIGKILL');
|
||||
|
||||
['stdin', 'stdout', 'stderr'].forEach(function (stream){
|
||||
this.thread[stream].removeAllListeners();
|
||||
}, this);
|
||||
|
||||
this.thread = null;
|
||||
}
|
||||
},
|
||||
exec: function (){
|
||||
|
||||
Reference in New Issue
Block a user