main
Last change
on this file was 79a0317, checked in by stefan toskovski <stefantoska84@…>, 4 days ago |
F4 Finalna Verzija
|
-
Property mode
set to
100644
|
File size:
249 bytes
|
Rev | Line | |
---|
[79a0317] | 1 | // workaround for tty output truncation upon process.exit()
|
---|
| 2 | // https://github.com/nodejs/node/issues/6456
|
---|
| 3 |
|
---|
| 4 | [process.stdout, process.stderr].forEach((s) => {
|
---|
| 5 | s && s.isTTY && s._handle && s._handle.setBlocking &&
|
---|
| 6 | s._handle.setBlocking(true)
|
---|
| 7 | });
|
---|
Note:
See
TracBrowser
for help on using the repository browser.