Skip to content

A shell is spawning every time we spawn a child process on Windows #7653

@vmarchaud

Description

@vmarchaud
  • Version: from 0.10 to 6.2
  • Platform: Windows

When spawning a child process with ``require('child_process').spawn`, a shell spawn for few milliseconds (almost one seconds) on Windows.
pm2's users are reporting us this issue (here or here) , which come from this code that we are using to spawn the user app.
Just asking why it is spawning and if we can prevent them to spawn ?

Thanks !

Metadata

Metadata

Assignees

No one assigned

    Labels

    child_processIssues and PRs related to the child_process subsystem.questionIssues that look for answers.windowsIssues and PRs related to the Windows platform.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions