-
-
Notifications
You must be signed in to change notification settings - Fork 37.1k
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 Node.js documentation.Issues and PRs related to Node.js documentation.
Description
Activity
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 Node.js documentation.Issues and PRs related to Node.js documentation.
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