remove `chcp 65001` result on the stdout

pull/401/head
starknt 2024-11-26 11:23:29 +08:00
parent e83527ae2e
commit a6fe9a56c4
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ function childExec (composeCmds, options = {}) {
reject(new Error(stderr)) reject(new Error(stderr))
} else { } else {
// log.info('cmd 命令完成:', stdout) // log.info('cmd 命令完成:', stdout)
resolve(stdout) resolve(stdout.replace('Active code page: 65001\r\n', ''))
} }
// log.info('关闭 cmd') // log.info('关闭 cmd')
// ps.kill('SIGINT') // ps.kill('SIGINT')