Skip to content

Mixing with stdin and stderr stdout about readable or writable in Child process spawn API options.stdio doc #56623

Open
@feiyuan1

Description

page link: https://nodejs.org/api/child_process.html#optionsstdio

When descripting the available value of Stream Object, threre are some wrong notes:

  1. "While it is technically possible to pass stdin as a writable or stdout/stderr as readable, it is not recommended."
    Maybe the actual meaning is "While it is technically possible to pass stdin as a readable or stdout/stderr as writable, it is not recommended."

  2. "e.g., passing a readable stream where a writable stream is expected"

This is my screenshot:
Image

Metadata

Assignees

No one assigned

    Labels

    child_processIssues and PRs related to the child_process subsystem.docIssues and PRs related to the documentations.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions