| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -222,7 +222,7 @@ See `kill(2)` | |||
| 222 | 222 | * `callback` {Function} | |
| 223 | 223 | * Return: Boolean | |
| 224 | 224 | ||
| 225 | - When using `child_process.fork()` you can write to the child using | ||
| 225 | + When using [`child_process.fork()`](#child_process_child_process_fork_modulepath_args_options) you can write to the child using | ||
| 226 | 226 | `child.send(message[, sendHandle][, callback])` and messages are received by | |
| 227 | 227 | a `'message'` event on the child. | |
| 228 | 228 | ||
@@ -539,7 +539,7 @@ will not stay running in the background unless it is provided with a `stdio` | |||
| 539 | 539 | configuration that is not connected to the parent. If the parent's `stdio` is | |
| 540 | 540 | inherited, the child will remain attached to the controlling terminal. | |
| 541 | 541 | ||
| 542 | - See also: `child_process.exec()` and `child_process.fork()` | ||
| 542 | + See also: [`child_process.exec()`](#child_process_child_process_exec_command_options_callback) and [`child_process.fork()`](#child_process_child_process_fork_modulepath_args_options) | ||
| 543 | 543 | ||
| 544 | 544 | ### child_process.exec(command[, options], callback) | |
| 545 | 545 | ||
@@ -622,9 +622,9 @@ the existing process and uses a shell to execute the command.* | |||
| 622 | 622 | * `stderr` {Buffer} | |
| 623 | 623 | * Return: ChildProcess object | |
| 624 | 624 | ||
| 625 | - This is similar to `child_process.exec()` except it does not execute a | ||
| 625 | + This is similar to [`child_process.exec()`](#child_process_child_process_exec_command_options_callback) except it does not execute a | ||
| 626 | 626 | subshell but rather the specified file directly. This makes it slightly | |
| 627 | - leaner than `child_process.exec`. It has the same options. | ||
| 627 | + leaner than [`child_process.exec()`](#child_process_child_process_exec_command_options_callback). It has the same options. | ||
| 628 | 628 | ||
| 629 | 629 | ||
| 630 | 630 | ### child_process.fork(modulePath[, args][, options]) | |
@@ -645,10 +645,10 @@ leaner than `child_process.exec`. It has the same options. | |||
| 645 | 645 | * `gid` {Number} Sets the group identity of the process. (See setgid(2).) | |
| 646 | 646 | * Return: ChildProcess object | |
| 647 | 647 | ||
| 648 | - This is a special case of the `spawn()` functionality for spawning Node.js | ||
| 648 | + This is a special case of the [`child_process.spawn()`](#child_process_child_process_spawn_command_args_options) functionality for spawning Node.js | ||
| 649 | 649 | processes. In addition to having all the methods in a normal ChildProcess | |
| 650 | 650 | instance, the returned object has a communication channel built-in. See | |
| 651 | - `child.send(message, [sendHandle])` for details. | ||
| 651 | + [`child.send(message, [sendHandle])`](#child_process_child_send_message_sendhandle_callback) for details. | ||
| 652 | 652 | ||
| 653 | 653 | These child Node.js processes are still whole new instances of V8. Assume at | |
| 654 | 654 | least 30ms startup and 10mb memory for each new Node.js. That is, you cannot | |
@@ -732,7 +732,7 @@ process has exited. | |||
| 732 | 732 | ||
| 733 | 733 | If the process times out, or has a non-zero exit code, this method ***will*** | |
| 734 | 734 | throw. The `Error` object will contain the entire result from | |
| 735 | - [`child_process.spawnSync`](#child_process_child_process_spawnsync_command_args_options) | ||
| 735 | + [`child_process.spawnSync()`](#child_process_child_process_spawnsync_command_args_options) | ||
| 736 | 736 | ||
| 737 | 737 | ### child_process.execFileSync(file[, args][, options]) | |
| 738 | 738 | ||
@@ -763,7 +763,7 @@ process has exited. | |||
| 763 | 763 | ||
| 764 | 764 | If the process times out, or has a non-zero exit code, this method ***will*** | |
| 765 | 765 | throw. The `Error` object will contain the entire result from | |
| 766 | - [`child_process.spawnSync`](#child_process_child_process_spawnsync_command_args_options) | ||
| 766 | + [`child_process.spawnSync()`](#child_process_child_process_spawnsync_command_args_options) | ||
| 767 | 767 | ||
| 768 | 768 | [EventEmitter]: events.html#events_class_events_eventemitter | |
| 769 | 769 | [net.Server]: net.html#net_class_net_server | |
| Back | FazBrowse Home | New Git URL |
0 commit comments