Skip to content

doc: child_process documentation for stdio

Checklist
  • documentation is changed or added
  • commit message follows commit guidelines
Affected core subsystem(s)

doc

Description of change

Document that execFileSync, execSync and spawnSync also supports stdio as an Array.

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

Fixes: https://github.com/nodejs/node/issues/9636

Merge request reports

Loading