@@ -33,10 +33,9 @@ function provides equivalent functionality in a synchronous manner that blocks
33
33
the event loop until the spawned process either exits of is terminated.
34
34
35
35
For convenience, the ` child_process ` module provides a handful of synchronous
36
- and asynchronous alternatives to ` child_process.spawn() ` and
37
- ` child_process.spawnSync() ` , each of which are documented fully [ below] [ ] .
38
- * Note that each of these alternatives are implemented on top of
39
- ` child_process.spawn() ` or ` child_process.spawnSync() ` .*
36
+ and asynchronous alternatives to [ ` child_process.spawn() ` ] [ ] and
37
+ [ ` child_process.spawnSync() ` ] [ ] . * Note that each of these alternatives are
38
+ implemented on top of ` child_process.spawn() ` or ` child_process.spawnSync() ` .*
40
39
41
40
* ` child_process.exec() ` : spawns a shell and runs a command within that shell,
42
41
passing the ` stdout ` and ` stderr ` to a callback function when complete.
@@ -222,7 +221,8 @@ spawned directly as a new process making it slightly more efficient than
222
221
(Default: ` process.execArgv ` )
223
222
* ` silent ` {Boolean} If true, stdin, stdout, and stderr of the child will be
224
223
piped to the parent, otherwise they will be inherited from the parent, see
225
- the ` 'pipe' ` and ` 'inherit' ` options for [ ` spawn() ` ] [ ] 's [ ` stdio ` ] [ ] for more details
224
+ the ` 'pipe' ` and ` 'inherit' ` options for [ ` spawn() ` ] [ ] 's [ ` stdio ` ] [ ] for
225
+ more details
226
226
(default is false)
227
227
* ` uid ` {Number} Sets the user identity of the process. (See setuid(2).)
228
228
* ` gid ` {Number} Sets the group identity of the process. (See setgid(2).)
@@ -262,10 +262,10 @@ not clone the current process.*
262
262
* ` cwd ` {String} Current working directory of the child process
263
263
* ` env ` {Object} Environment key-value pairs
264
264
* ` stdio ` {Array|String} Child's stdio configuration. (See
265
- [ below ] ( #child_process_options_stdio ) )
265
+ [ ` options.stdio ` ] [ ] )
266
266
* ` detached ` {Boolean} Prepare child to run independently of its parent
267
267
process. Specific behavior depends on the platform, see
268
- [ below ] ( #child_process_options_detached ) )
268
+ [ ` options.detached ` ] [ ] )
269
269
* ` uid ` {Number} Sets the user identity of the process. (See setuid(2).)
270
270
* ` gid ` {Number} Sets the group identity of the process. (See setgid(2).)
271
271
* return: {ChildProcess object}
@@ -933,6 +933,7 @@ to the same value.
933
933
[ `EventEmitters` ] : events.html#events_class_events_eventemitter
934
934
[ `net.Server` ] : net.html#net_class_net_server
935
935
[ `net.Socket` ] : net.html#net_class_net_socket
936
+ [ `options.detached` ] : #child_process_options_detached
937
+ [ `options.stdio` ] : #child_process_options_stdio
936
938
[ `stdio` ] : #child_process_options_stdio
937
- [ below ] : #child_process_asynchronous_process_creation
938
939
[ synchronous counterparts ] : #child_process_synchronous_process_creation
0 commit comments