Skip to content

Commit 4c132fe

Browse files
r-52jasnell
authored andcommitted
doc: make references clickable
The child_process docs contained some links, but some links were somehow "broken". `make doc` couldn't translate them and left `[]` in the compiled HTML. PR-URL: #4654 Reviewed-By: Roman Reiss <me@silverwind.io> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent 88b2889 commit 4c132fe

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

doc/api/child_process.markdown

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ The `child_process.spawn()`, `child_process.fork()`, `child_process.exec()`,
6060
and `child_process.execFile()` methods all follow the idiomatic asynchronous
6161
programming pattern typical of other Node.js APIs.
6262

63-
Each of the methods returns a [ChildProcess][] instance. These objects
64-
implement the Node.js [EventEmitter][] API, allowing the parent process to
63+
Each of the methods returns a [`ChildProcess`][] instance. These objects
64+
implement the Node.js [`EventEmitter`][] API, allowing the parent process to
6565
register listener functions that are called when certain events occur during
6666
the life cycle of the child process.
6767

@@ -221,9 +221,8 @@ spawned, behaviors such as I/O redirection and file globbing are not supported.
221221
(Default: `process.execArgv`)
222222
* `silent` {Boolean} If true, stdin, stdout, and stderr of the child will be
223223
piped to the parent, otherwise they will be inherited from the parent, see
224-
the `'pipe'` and `'inherit'` options for [`spawn()`][]'s [`stdio`][] for
225-
more details
226-
(default is false)
224+
the `'pipe'` and `'inherit'` options for [`child_process.spawn()`][]'s
225+
[`stdio`][] for more details (default is false)
227226
* `uid` {Number} Sets the user identity of the process. (See setuid(2).)
228227
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
229228
* Return: ChildProcess object
@@ -922,6 +921,7 @@ then this will be `undefined`.
922921
to the same value.
923922

924923
[`popen(3)`]: http://linux.die.net/man/3/popen
924+
[`ChildProcess`]: #child_process_child_process
925925
[`child_process.exec()`]: #child_process_child_process_exec_command_options_callback
926926
[`child_process.execFile()`]: #child_process_child_process_execfile_file_args_options_callback
927927
[`child_process.fork()`]: #child_process_child_process_fork_modulepath_args_options
@@ -930,6 +930,7 @@ to the same value.
930930
[`ChildProcess#kill()`]: #child_process_child_kill_signal
931931
[`ChildProcess#send()`]: #child_process_child_send_message_sendhandle_callback
932932
[`Error`]: errors.html#errors_class_error
933+
[`EventEmitter`]: events.html#events_class_events_eventemitter
933934
[`EventEmitters`]: events.html#events_class_events_eventemitter
934935
[`net.Server`]: net.html#net_class_net_server
935936
[`net.Socket`]: net.html#net_class_net_socket

0 commit comments

Comments
 (0)