Skip to content
This repository was archived by the owner on Nov 13, 2024. It is now read-only.

Commit 7c85797

Browse files
committed
删除 终止进程输出
1 parent 1f9dbd4 commit 7c85797

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/entity/commands/general/general _start.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ class ProcessAdapter extends EventEmitter implements IInstanceProcess {
6262
}
6363
if (os.platform() === "linux") {
6464
return exec(`kill -s 9 ${this.pid}`, (err, stdout, stderr) => {
65-
logger.info(`实例进程 ${this.pid} 正在使用指令强制结束.`);
66-
logger.info(`实例进程 ${this.pid} 强制结束结果:\n Error: ${err}\n Stdout: ${stdout}`);
65+
logger.info(`实例进程 ${this.pid} 已使用系统指令强制终止进程.`);
66+
// logger.info(`实例进程 ${this.pid} 强制结束结果:\n Error: ${err}\n Stdout: ${stdout}`);
6767
});
6868
}
6969
if (s) this.process.kill(s);

0 commit comments

Comments
 (0)