Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
feiyuan1 opened this issue Jan 16, 2025 · 0 comments
Labels
child_process Issues and PRs related to the child_process subsystem. doc Issues and PRs related to the documentations.

Comments

@feiyuan1
Copy link

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

@Lxxyx Lxxyx added child_process Issues and PRs related to the child_process subsystem. doc Issues and PRs related to the documentations. labels Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
child_process Issues and PRs related to the child_process subsystem. doc Issues and PRs related to the documentations.
Projects
None yet
Development

No branches or pull requests

2 participants