-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
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.
Description
The child_process documentation for execFileSync
, execSync
and spawnSync
notes that options.stdio
is an array.
But it seems it can also be a string, similar to the stdio
options given to child_process.spawn
.
Actually execFileSync
, execSync
and spawnSync
all 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
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.