summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulien Fontanet <julien.fontanet@isonoe.net>2014-09-23 16:51:33 +0200
committerChris Dickinson <christopher.s.dickinson@gmail.com>2014-10-01 11:45:23 -0700
commit95726b0fce0ae1ae60591f0a535515e8dabfd6df (patch)
tree99f864c03fc536c5682c0c9332937d9ded2c9064
parent1781c8b85bbabc4c5c1e054bd5c50903cc0eb47b (diff)
downloadandroid-node-v8-95726b0fce0ae1ae60591f0a535515e8dabfd6df.tar.gz
android-node-v8-95726b0fce0ae1ae60591f0a535515e8dabfd6df.tar.bz2
android-node-v8-95726b0fce0ae1ae60591f0a535515e8dabfd6df.zip
doc: note stdout and stderr special behaviors.
Reviewed-By: Trevor Norris <trev.norris@gmail.com> Reviewed-By: Chris Dickinson <christopher.s.dickinson@gmail.com>
-rw-r--r--doc/api/process.markdown6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/api/process.markdown b/doc/api/process.markdown
index 68bb2a6653..614f5cf07a 100644
--- a/doc/api/process.markdown
+++ b/doc/api/process.markdown
@@ -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.
@@ -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.