- 
          
- 
                Notifications
    You must be signed in to change notification settings 
- Fork 33.6k
Closed
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.
Description
In the child_process module currently there is two flavors of exec function: exec and execFile, which is good, but for spawn, there is only one version, would've been great to have something like child_process.spawnShell. Currently I use this code to emulate it:
child_process.spawn('cmd', ['/s', '/c', command], {windowsVerbatimArguments:true})but it is platform specific and requires the use of undocumented flag windowsVerbatimArguments
Metadata
Metadata
Assignees
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.feature requestIssues that request new features to be added to Node.js.Issues that request new features to be added to Node.js.windowsIssues and PRs related to the Windows platform.Issues and PRs related to the Windows platform.