summaryrefslogtreecommitdiff
path: root/doc/api/child_process.md
diff options
context:
space:
mode:
authorAnna Henningsen <anna@addaleax.net>2018-03-23 12:54:48 +0100
committerBeth Griggs <Bethany.Griggs@uk.ibm.com>2018-03-26 13:57:58 +0100
commit189eaa043535c27cde96a863a2f90785913b1071 (patch)
tree7ba3480b71e69bc0bd72b61d1b9aa790a7b3255d /doc/api/child_process.md
parentd6664eb3d7aa5c63b64a8ca856ddbd14304562bd (diff)
downloadandroid-node-v8-189eaa043535c27cde96a863a2f90785913b1071.tar.gz
android-node-v8-189eaa043535c27cde96a863a2f90785913b1071.tar.bz2
android-node-v8-189eaa043535c27cde96a863a2f90785913b1071.zip
doc: remove confusing note about child process stdio
It’s not obvious what the paragraph is supposed to say. In particular, whether and what kind of buffering mechanism a process uses for its stdio streams does not affect that, in general, no guarantees can be made about when it consumes data that was sent to it. PR-URL: https://github.com/nodejs/node/pull/19552 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r--doc/api/child_process.md4
1 files changed, 0 insertions, 4 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index 09e43b2bd4..6def24c8a5 100644
--- a/doc/api/child_process.md
+++ b/doc/api/child_process.md
@@ -33,10 +33,6 @@ stdout in excess of that limit without the output being captured, the child
process will block waiting for the pipe buffer to accept more data. This is
identical to the behavior of pipes in the shell. Use the `{ stdio: 'ignore' }`
option if the output will not be consumed.
-It is possible to stream data through these pipes in a non-blocking way. Note,
-however, that some programs use line-buffered I/O internally. While that does
-not affect Node.js, it can mean that data sent to the child process may not be
-immediately consumed.
The [`child_process.spawn()`][] method spawns the child process asynchronously,
without blocking the Node.js event loop. The [`child_process.spawnSync()`][]