mirror of
https://github.com/nodejs/node.git
synced 2026-11-26 21:58:26 -05:00
doc: fix process.stdout fd number
it should be 1 for the stdout fd number PR-URL: https://github.com/nodejs/node/pull/12055 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
1 parent
cddc32c954
commit
97035136d6
1 file changed
+1
-1
+1
-1
@@ -1555,7 +1555,7 @@ must call `process.stdin.resume()` to read from it. Note also that calling
|
||||
* {Stream}
|
||||
|
||||
The `process.stdout` property returns a [Writable][] stream connected to
|
||||
`stdout` (fd `2`).
|
||||
`stdout` (fd `1`).
|
||||
|
||||
For example, to copy process.stdin to process.stdout:
|
||||
|
||||
|
||||
Reference in new issue
Block a user