Skip to content

Commit

Permalink
doc: note stdout and stderr special behaviors.
Browse files Browse the repository at this point in the history
Reviewed-By: Trevor Norris <trev.norris@gmail.com>
Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
  • Loading branch information
julien-f authored and chrisdickinson committed Oct 1, 2014
1 parent 1781c8b commit 95726b0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions doc/api/process.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ Example: the definition of `console.log`
};

`process.stderr` and `process.stdout` are unlike other streams in Node in
that writes to them are usually blocking.
that they cannot be closed (`end()` will throw), they never emit the `finish`
event and that writes are usually blocking.

- They are blocking in the case that they refer to regular files or TTY file
descriptors.
Expand Down Expand Up @@ -209,7 +210,8 @@ See [the tty docs](tty.html#tty_tty) for more information.
A writable stream to stderr.

`process.stderr` and `process.stdout` are unlike other streams in Node in
that writes to them are usually blocking.
that they cannot be closed (`end()` will throw), they never emit the `finish`
event and that writes are usually blocking.

- They are blocking in the case that they refer to regular files or TTY file
descriptors.
Expand Down

0 comments on commit 95726b0

Please sign in to comment.