提交 d57cb0f0 编写于 作者: D Daniel Imms 提交者: GitHub

Merge pull request #22844 from chirag64/end-terminal-process

Fixes #18990, #21693 - Shutdown terminal pty process more gracefully
......@@ -48,6 +48,7 @@ ptyProcess.on('data', function (data) {
});
ptyProcess.on('exit', function (exitCode) {
ptyProcess.kill();
process.exit(exitCode);
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册