diff options
Diffstat (limited to 'doc/api/cluster.md')
-rw-r--r-- | doc/api/cluster.md | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md index 09558d299e..66a4be9137 100644 --- a/doc/api/cluster.md +++ b/doc/api/cluster.md @@ -714,14 +714,14 @@ changes: * {Object} * `execArgv` {Array} List of string arguments passed to the Node.js - executable. **Default:** `process.execArgv` - * `exec` {string} File path to worker file. **Default:** `process.argv[1]` + executable. **Default:** `process.execArgv`. + * `exec` {string} File path to worker file. **Default:** `process.argv[1]`. * `args` {Array} String arguments passed to worker. - **Default:** `process.argv.slice(2)` + **Default:** `process.argv.slice(2)`. * `cwd` {string} Current working directory of the worker process. **Default:** - `undefined` (inherits from parent process) + `undefined` (inherits from parent process). * `silent` {boolean} Whether or not to send output to parent's stdio. - **Default:** `false` + **Default:** `false`. * `stdio` {Array} Configures the stdio of forked processes. Because the cluster module relies on IPC to function, this configuration must contain an `'ipc'` entry. When this option is provided, it overrides `silent`. @@ -732,7 +732,7 @@ changes: number. By default each worker gets its own port, incremented from the master's `process.debugPort`. * `windowsHide` {boolean} Hide the forked processes console window that would - normally be created on Windows systems. **Default:** `false` + normally be created on Windows systems. **Default:** `false`. After calling `.setupMaster()` (or `.fork()`) this settings object will contain the settings, including the default values. |