From a325f74adc7508cdc1b1bbf7c8b7a910594f28fb Mon Sep 17 00:00:00 2001 From: Dark Litss Date: Fri, 8 Jul 2022 22:24:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E7=BB=88=E7=AB=AF=E8=BE=93=E5=85=A5=E7=BC=96=E7=A0=81=E5=90=91?= =?UTF-8?q?=E7=BB=88=E7=AB=AF=E5=8F=91=E9=80=81=E5=91=BD=E4=BB=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/entity/commands/general/general _command.ts | 2 +- src/entity/commands/general/general _input.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/entity/commands/general/general _command.ts b/src/entity/commands/general/general _command.ts index 25672e0..6e7fbad 100644 --- a/src/entity/commands/general/general _command.ts +++ b/src/entity/commands/general/general _command.ts @@ -34,7 +34,7 @@ export default class GeneralSendCommand extends InstanceCommand { if (!instance.process) { instance.failure(new Error("命令执行失败,因为实例实际进程不存在.")); } - instance.process.write(encode(text, instance.config.oe)); + instance.process.write(encode(text, instance.config.ie)); instance.process.write("\n"); } } diff --git a/src/entity/commands/general/general _input.ts b/src/entity/commands/general/general _input.ts index e7385be..5d9c579 100644 --- a/src/entity/commands/general/general _input.ts +++ b/src/entity/commands/general/general _input.ts @@ -32,6 +32,6 @@ export default class GeneralInputCommand extends InstanceCommand { if (!instance.process) { instance.failure(new Error("命令执行失败,因为实例实际进程不存在.")); } - instance.process.write(encode(text, instance.config.oe)); + instance.process.write(encode(text, instance.config.ie)); } }