mirror of
http://36.133.248.69:3088/admin/RentWeAppFront.git
synced 2026-03-07 17:32:25 +08:00
8 lines
252 B
JavaScript
8 lines
252 B
JavaScript
|
|
module.exports = function (blocking) {
|
||
|
|
[process.stdout, process.stderr].forEach(function (stream) {
|
||
|
|
if (stream._handle && stream.isTTY && typeof stream._handle.setBlocking === 'function') {
|
||
|
|
stream._handle.setBlocking(blocking)
|
||
|
|
}
|
||
|
|
})
|
||
|
|
}
|