UNPKG
create-lbgcli
Version:
latest (1.0.2)
1.0.2
前端脚手架模板
create-lbgcli
/
template-pc
/
node_modules
/
terser
/
tools
/
exit.cjs
8 lines
(6 loc)
•
249 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
// workaround for tty output truncation upon process.exit()
// https://github.com/nodejs/node/issues/6456
[process.
stdout
, process.
stderr
].
forEach
(
(
s
) =>
{ s && s.
isTTY
&& s.
_handle
&& s.
_handle
.
setBlocking
&& s.
_handle
.
setBlocking
(
true
) });