Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Feature/fix child process type checking #8454

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
doc: document the fds behind stdin/out/err
Its common knowledge on unix, but node documentation depends on knowing
this, as it exposes both streams named after stdio, and the fd numbers,
so make this explicit.

Closes #8624
  • Loading branch information
sam-github committed Nov 18, 2014
commit eeae1e117c1f7563663736159ab10a4e56fe0e65
6 changes: 3 additions & 3 deletions doc/api/process.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ emulation with `process.kill()`, and `child_process.kill()`:

## process.stdout

A `Writable Stream` to `stdout`.
A `Writable Stream` to `stdout` (on fd `1`).

Example: the definition of `console.log`

Expand Down Expand Up @@ -150,7 +150,7 @@ See [the tty docs](tty.html#tty_tty) for more information.

## process.stderr

A writable stream to stderr.
A writable stream to stderr (on fd `2`).

`process.stderr` and `process.stdout` are unlike other streams in Node in
that writes to them are usually blocking.
Expand All @@ -164,7 +164,7 @@ that writes to them are usually blocking.

## process.stdin

A `Readable Stream` for stdin.
A `Readable Stream` for stdin (on fd `0`).

Example of opening standard input and listening for both events:

Expand Down