Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
make stdout stream non-destroyable
Browse files Browse the repository at this point in the history
  • Loading branch information
Igor Zinkovsky committed Nov 9, 2011
1 parent 5d89540 commit f84d86b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/node.js
Expand Up @@ -278,6 +278,7 @@
process.__defineGetter__('stdout', function() {
if (stdout) return stdout;
stdout = createWritableStdioStream(1);
stdout.end = stdout.destroy = stdout.destroySoon = function() { };
return stdout;
});

Expand Down

0 comments on commit f84d86b

Please sign in to comment.