-
-
Notifications
You must be signed in to change notification settings - Fork 34.7k
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.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.
Description
- Version: *
- Platform: *
- Subsystem: child_process
child_process.exec(cmd, { env: Object.assign({}, process.env, {NEW_VAR:1}) }) is a very common pattern. IMHO adding an { additionalEnv } option that implements this pattern, will make the API more complete, and less error prone.
Reactions are currently unavailable
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.help wantedIssues that need assistance from volunteers or PRs that need help to proceed.Issues that need assistance from volunteers or PRs that need help to proceed.