-
-
Notifications
You must be signed in to change notification settings - Fork 35.6k
child_process documentation for stdioΒ #9636
Copy link
Copy link
Closed
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.docIssues and PRs related to the documentations.Issues and PRs related to the documentations.
Metadata
Metadata
Assignees
Labels
child_processIssues and PRs related to the child_process subsystem.Issues and PRs related to the child_process subsystem.docIssues and PRs related to the documentations.Issues and PRs related to the documentations.
The child_process documentation for
execFileSync,execSyncandspawnSyncnotes thatoptions.stdiois an array.But it seems it can also be a string, similar to the
stdiooptions given tochild_process.spawn.Actually
execFileSync,execSyncandspawnSyncall ends up here, where the options are accepted as string or array. See https://github.com/nodejs/node/blob/master/lib/internal/child_process.js#L758