From 3e2be6f39f70b444294a094cd47441b0107b2c35 Mon Sep 17 00:00:00 2001 From: Ben Noordhuis Date: Thu, 14 Feb 2013 19:41:33 +0100 Subject: [PATCH] doc: clarify child_process.exec() stdio option It only works for stdin, not stdout/stderr, for obvious reasons. --- doc/api/child_process.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown index 4417ed77e1..7c08424531 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