summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-02-14 19:41:33 +0100
committerBen Noordhuis <info@bnoordhuis.nl>2013-02-14 19:42:14 +0100
commit3e2be6f39f70b444294a094cd47441b0107b2c35 (patch)
tree6bf27955b8b3a2a10e74809225231423d6ac6428
parentaec6e9393126d1a3d40af6a639e93314db921b2f (diff)
downloadnode-3e2be6f39f70b444294a094cd47441b0107b2c35.tar.gz
doc: clarify child_process.exec() stdio option
It only works for stdin, not stdout/stderr, for obvious reasons.
-rw-r--r--doc/api/child_process.markdown2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown
index 4417ed77e..7c0842453 100644
--- a/doc/api/child_process.markdown
+++ b/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