Skip to content

doc: fix exec stdout & stderr default type in child_process #6666

@sartrey

Description

@sartrey
  • v4.4.4:
  • Darwin:

There is an inaccurate line in child_process documents.
** origin text **
If encoding is 'buffer', Buffer objects will be passed to
the callback instead

Actually, if encoding parameter can not be identified as encoding (Buffer.isEncoding)
exec will also output buffer rather than string

Could I provide a pr to fix the document?

Metadata

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