Skip to content

Commit 99a2351

Browse files
committed
doc: add note about stdio streams in child_process
1 parent 7480ee8 commit 99a2351

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/child_process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,7 @@ pipes between the parent and child. The value is one of the following:
10621062
underlying descriptor (file streams do not start until the `'open'` event has
10631063
occurred).
10641064
**NOTE:** While it is technically possible to pass `stdin` as a writable or
1065-
`stdout`/`stderr` as readable under `options.stdio`, it is not recommended.
1065+
`stdout`/`stderr` as readable, it is not recommended.
10661066
Readable and writable streams are designed with distinct behaviors, and using
10671067
them incorrectly (e.g., passing a readable stream where a writable stream is
10681068
expected) can lead to unexpected results or errors. This practice is discouraged

0 commit comments

Comments
 (0)