期贤 2022-02-11 15:50:11 +08:00
parent d4391552c1
commit 8342e01afc
1 changed files with 1 additions and 1 deletions

View File

@ -39,7 +39,7 @@ startServer.stdout.on('data', (data) => {
},
);
testCmd.on('exit', (code) => {
console.log(code);
console.log('服务已经退出,退出码:', code);
startServer.kill();
process.exit(code);
});