remove `chcp 65001` result on the stdout
parent
e83527ae2e
commit
a6fe9a56c4
|
@ -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')
|
||||||
|
|
Loading…
Reference in New Issue