make stdout stream non-destroyable
This commit is contained in:
parent
5d89540b77
commit
f84d86b660
@ -278,6 +278,7 @@
|
|||||||
process.__defineGetter__('stdout', function() {
|
process.__defineGetter__('stdout', function() {
|
||||||
if (stdout) return stdout;
|
if (stdout) return stdout;
|
||||||
stdout = createWritableStdioStream(1);
|
stdout = createWritableStdioStream(1);
|
||||||
|
stdout.end = stdout.destroy = stdout.destroySoon = function() { };
|
||||||
return stdout;
|
return stdout;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user