Browse Source

doc: clarify child_process.exec() stdio option

It only works for stdin, not stdout/stderr, for obvious reasons.
v0.8.20-release
Ben Noordhuis 12 years ago
parent
commit
3e2be6f39f
  1. 2
      doc/api/child_process.markdown

2
doc/api/child_process.markdown

@ -434,6 +434,8 @@ See also: `child_process.exec()` and `child_process.fork()`
* `options` {Object}
* `cwd` {String} Current working directory of the child process
* `stdio` {Array|String} Child's stdio configuration. (See above)
Only stdin is configurable, anything else will lead to unpredictable
results.
* `customFds` {Array} **Deprecated** File descriptors for the child to use
for stdio. (See above)
* `env` {Object} Environment key-value pairs

Loading…
Cancel
Save