Skip to content

Commit 9703513

Browse files
fmyMylesBorins
authored andcommitted
doc: fix process.stdout fd number
it should be 1 for the stdout fd number PR-URL: #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>
1 parent cddc32c commit 9703513

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1555,7 +1555,7 @@ must call `process.stdin.resume()` to read from it. Note also that calling
15551555
* {Stream}
15561556

15571557
The `process.stdout` property returns a [Writable][] stream connected to
1558-
`stdout` (fd `2`).
1558+
`stdout` (fd `1`).
15591559

15601560
For example, to copy process.stdin to process.stdout:
15611561

0 commit comments

Comments
 (0)