[PATCH] Add process.stderr

15 views
Skip to first unread message

Tim Caswell

unread,
Apr 10, 2010, 6:57:08 PM4/10/10
to nod...@googlegroups.com, r...@tinyclouds.org
Attached is a patch to slightly speed up process.stdout and to also add a process.stderr that works the same way, except for stderr.

0001-Slightly-speed-up-process.stdout-and-add-a-process.s.patch

r...@tinyclouds.org

unread,
Apr 11, 2010, 5:57:45 PM4/11/10
to Tim Caswell, nod...@googlegroups.com
On Sat, Apr 10, 2010 at 3:57 PM, Tim Caswell <t...@creationix.com> wrote:
> Attached is a patch to slightly speed up process.stdout and to also add a process.stderr that works the same way, except for stderr.

stderr is meant to be synchronous for debugging purposes. This is why
it does not use net.Stream. I wouldn't be opposed to implementing a
writable stream interface for stderr - but it must have the property
that process.stderr.write() always returns true.

Reply all
Reply to author
Forward
0 new messages