Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

make stdout stream non-destroyable

  • Loading branch information...
Igor Zinkovsky
Igor Zinkovsky committed Nov 9, 2011
1 parent 5d89540 commit f84d86b66054273fb6a31346f0dd957078b58c1c
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/node.js
@@ -278,6 +278,7 @@
process.__defineGetter__('stdout', function() {
if (stdout) return stdout;
stdout = createWritableStdioStream(1);
stdout.end = stdout.destroy = stdout.destroySoon = function() { };
return stdout;
});

0 comments on commit f84d86b

Please sign in to comment.
You can’t perform that action at this time.