From feac62d8d629a2225c93ae5c797efe3a899acba2 Mon Sep 17 00:00:00 2001 From: Ryan Graham Date: Tue, 8 Jul 2014 11:33:50 -0700 Subject: [PATCH] doc: remove customFds mentions The feature has been marked as deprecated since v0.5.11. Signed-off-by: Fedor Indutny --- doc/api/child_process.markdown | 9 --------- 1 file changed, 9 deletions(-) diff --git a/doc/api/child_process.markdown b/doc/api/child_process.markdown index c8858c1..2705209 100644 --- a/doc/api/child_process.markdown +++ b/doc/api/child_process.markdown @@ -300,8 +300,6 @@ child process has any open IPC channels with the parent (i.e `fork()`). * `options` {Object} * `cwd` {String} Current working directory of the child process * `stdio` {Array|String} Child's stdio configuration. (See below) - * `customFds` {Array} **Deprecated** File descriptors for the child to use - for stdio. (See below) * `env` {Object} Environment key-value pairs * `detached` {Boolean} The child will be a process group leader. (See below) * `uid` {Number} Sets the user identity of the process. (See setuid(2).) @@ -468,13 +466,6 @@ will not stay running in the background unless it is provided with a `stdio` configuration that is not connected to the parent. If the parent's `stdio` is inherited, the child will remain attached to the controlling terminal. -There is a deprecated option called `customFds` which allows one to specify -specific file descriptors for the stdio of the child process. This API was -not portable to all platforms and therefore removed. -With `customFds` it was possible to hook up the new process' `[stdin, stdout, -stderr]` to existing streams; `-1` meant that a new stream should be created. -Use at your own risk. - See also: `child_process.exec()` and `child_process.fork()` ## child_process.exec(command, [options], callback) -- 2.7.4