doc: clarify child_process.exec() stdio option
It only works for stdin, not stdout/stderr, for obvious reasons.
This commit is contained in:
parent
aec6e93931
commit
3e2be6f39f
@ -434,6 +434,8 @@ See also: `child_process.exec()` and `child_process.fork()`
|
|||||||
* `options` {Object}
|
* `options` {Object}
|
||||||
* `cwd` {String} Current working directory of the child process
|
* `cwd` {String} Current working directory of the child process
|
||||||
* `stdio` {Array|String} Child's stdio configuration. (See above)
|
* `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
|
* `customFds` {Array} **Deprecated** File descriptors for the child to use
|
||||||
for stdio. (See above)
|
for stdio. (See above)
|
||||||
* `env` {Object} Environment key-value pairs
|
* `env` {Object} Environment key-value pairs
|
||||||
|
Loading…
x
Reference in New Issue
Block a user