Skip to content

Commit 7f6b03f

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 51c8d80 commit 7f6b03f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/process.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1539,7 +1539,7 @@ must call `process.stdin.resume()` to read from it. Note also that calling
15391539
* {Stream}
15401540

15411541
The `process.stdout` property returns a [Writable][] stream connected to
1542-
`stdout` (fd `2`).
1542+
`stdout` (fd `1`).
15431543

15441544
For example, to copy process.stdin to process.stdout:
15451545

0 commit comments

Comments
 (0)