Skip to content

process.binding('spawn_sync') is required for spawn-wrap (and thus nyc) to work. #27344

Closed as not planned
@coreyfarrell

Description

@coreyfarrell

spawn-wrap works by intercepting calls to spawn and spawnSync. spawn is handled by replacing ChildProcess.prototype.spawn, spawnSync is handled by replacing process.bindings('spawn_sync').spawn. With #22160 and #22260 I assume we will need a migration path in the future.

CC @isaacs @bcoe

  • Version: future
  • Platform: all
  • Subsystem: child_process

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