Skip to content

Commit 88daf88

Browse files
fmyaddaleax
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 595efd8 commit 88daf88

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
@@ -1552,7 +1552,7 @@ must call `process.stdin.resume()` to read from it. Note also that calling
15521552
* {Stream}
15531553

15541554
The `process.stdout` property returns a [Writable][] stream connected to
1555-
`stdout` (fd `2`).
1555+
`stdout` (fd `1`).
15561556

15571557
For example, to copy process.stdin to process.stdout:
15581558

0 commit comments

Comments
 (0)