Skip to content

execSync not allow encoding to set explicitly to buffer #6930

Closed
@zhanzhenzhen

Description

@zhanzhenzhen
  • Version: Tested on 5, 6
  • Platform: Tested on OS X, Ubuntu
  • Subsystem:
> child_process.execSync("ls",{encoding:"buffer"})
TypeError: Unknown encoding: buffer

Metadata

Metadata

Assignees

No one assigned

    Labels

    child_processIssues and PRs related to the child_process subsystem.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions