Skip to content

Commit 22d3eff

Browse files
committed
doc: add note about child process line buffering
Fixes #4808.
1 parent ef94521 commit 22d3eff

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

doc/api/child_process.markdown

+3-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ Node provides a tri-directional `popen(3)` facility through the
66
`child_process` module.
77

88
It is possible to stream data through a child's `stdin`, `stdout`, and
9-
`stderr` in a fully non-blocking way.
9+
`stderr` in a fully non-blocking way. (Note that some programs use
10+
line-buffered I/O internally. That doesn't affect node.js but it means
11+
data you send to the child process is not immediately consumed.)
1012

1113
To create a child process use `require('child_process').spawn()` or
1214
`require('child_process').fork()`. The semantics of each are slightly

0 commit comments

Comments
 (0)