diff options
author | Rich Trott <rtrott@gmail.com> | 2018-11-02 00:11:54 -0700 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2018-11-15 16:12:23 +0100 |
commit | c07cce368a714f4f35ac692a259b11649aac6b8f (patch) | |
tree | 0dc480f2c5d02205921b289395466d70700ba549 /doc | |
parent | aa800b097ac16672eb8d2cbd47bb3367a961b9a4 (diff) | |
download | node-new-c07cce368a714f4f35ac692a259b11649aac6b8f.tar.gz |
Revert "child_process: change windowsHide default to true"
This reverts commit 420d8afe3db22ad703e74892f58f9e32d34ff699.
PR-URL: https://github.com/nodejs/node/pull/24034
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Shelley Vohr <codebytere@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Reviewed-By: Bartosz Sosnowski <bartosz@janeasystems.com>
Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/child_process.md | 30 | ||||
-rw-r--r-- | doc/api/cluster.md | 5 |
2 files changed, 7 insertions, 28 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md index b2a6e443f9..7ba83b3528 100644 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -131,9 +131,6 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => { <!-- YAML added: v0.1.90 changes: - - version: v11.0.0 - pr-url: https://github.com/nodejs/node/pull/21316 - description: The `windowsHide` option now defaults to `true`. - version: v8.8.0 pr-url: https://github.com/nodejs/node/pull/15380 description: The `windowsHide` option is supported now. @@ -156,7 +153,7 @@ changes: * `uid` {number} Sets the user identity of the process (see setuid(2)). * `gid` {number} Sets the group identity of the process (see setgid(2)). * `windowsHide` {boolean} Hide the subprocess console window that would - normally be created on Windows systems. **Default:** `true`. + normally be created on Windows systems. **Default:** `false`. * `callback` {Function} called with the output when process terminates. * `error` {Error} * `stdout` {string|Buffer} @@ -235,9 +232,6 @@ lsExample(); <!-- YAML added: v0.1.91 changes: - - version: v11.0.0 - pr-url: https://github.com/nodejs/node/pull/21316 - description: The `windowsHide` option now defaults to `true`. - version: v8.8.0 pr-url: https://github.com/nodejs/node/pull/15380 description: The `windowsHide` option is supported now. @@ -257,7 +251,7 @@ changes: * `uid` {number} Sets the user identity of the process (see setuid(2)). * `gid` {number} Sets the group identity of the process (see setgid(2)). * `windowsHide` {boolean} Hide the subprocess console window that would - normally be created on Windows systems. **Default:** `true`. + normally be created on Windows systems. **Default:** `false`. * `windowsVerbatimArguments` {boolean} No quoting or escaping of arguments is done on Windows. Ignored on Unix. **Default:** `false`. * `shell` {boolean|string} If `true`, runs `command` inside of a shell. Uses @@ -381,9 +375,6 @@ The `shell` option available in [`child_process.spawn()`][] is not supported by <!-- YAML added: v0.1.90 changes: - - version: v11.0.0 - pr-url: https://github.com/nodejs/node/pull/21316 - description: The `windowsHide` option now defaults to `true`. - version: v8.8.0 pr-url: https://github.com/nodejs/node/pull/15380 description: The `windowsHide` option is supported now. @@ -417,7 +408,7 @@ changes: done on Windows. Ignored on Unix. This is set to `true` automatically when `shell` is specified and is CMD. **Default:** `false`. * `windowsHide` {boolean} Hide the subprocess console window that would - normally be created on Windows systems. **Default:** `true`. + normally be created on Windows systems. **Default:** `false`. * Returns: {ChildProcess} The `child_process.spawn()` method spawns a new process using the given @@ -690,9 +681,6 @@ changes: pr-url: https://github.com/nodejs/node/pull/22409 description: The `input` option can now be any `TypedArray` or a `DataView`. - - version: v11.0.0 - pr-url: https://github.com/nodejs/node/pull/21316 - description: The `windowsHide` option now defaults to `true`. - version: v8.8.0 pr-url: https://github.com/nodejs/node/pull/15380 description: The `windowsHide` option is supported now. @@ -727,7 +715,7 @@ changes: * `encoding` {string} The encoding used for all stdio inputs and outputs. **Default:** `'buffer'`. * `windowsHide` {boolean} Hide the subprocess console window that would - normally be created on Windows systems. **Default:** `true`. + normally be created on Windows systems. **Default:** `false`. * `shell` {boolean|string} If `true`, runs `command` inside of a shell. Uses `'/bin/sh'` on UNIX, and `process.env.ComSpec` on Windows. A different shell can be specified as a string. See [Shell Requirements][] and @@ -760,9 +748,6 @@ changes: pr-url: https://github.com/nodejs/node/pull/22409 description: The `input` option can now be any `TypedArray` or a `DataView`. - - version: v11.0.0 - pr-url: https://github.com/nodejs/node/pull/21316 - description: The `windowsHide` option now defaults to `true`. - version: v8.8.0 pr-url: https://github.com/nodejs/node/pull/15380 description: The `windowsHide` option is supported now. @@ -796,7 +781,7 @@ changes: * `encoding` {string} The encoding used for all stdio inputs and outputs. **Default:** `'buffer'`. * `windowsHide` {boolean} Hide the subprocess console window that would - normally be created on Windows systems. **Default:** `true`. + normally be created on Windows systems. **Default:** `false`. * Returns: {Buffer|string} The stdout from the command. The `child_process.execSync()` method is generally identical to @@ -822,9 +807,6 @@ changes: pr-url: https://github.com/nodejs/node/pull/22409 description: The `input` option can now be any `TypedArray` or a `DataView`. - - version: v11.0.0 - pr-url: https://github.com/nodejs/node/pull/21316 - description: The `windowsHide` option now defaults to `true`. - version: v8.8.0 pr-url: https://github.com/nodejs/node/pull/15380 description: The `windowsHide` option is supported now. @@ -869,7 +851,7 @@ changes: done on Windows. Ignored on Unix. This is set to `true` automatically when `shell` is specified and is CMD. **Default:** `false`. * `windowsHide` {boolean} Hide the subprocess console window that would - normally be created on Windows systems. **Default:** `true`. + normally be created on Windows systems. **Default:** `false`. * Returns: {Object} * `pid` {number} Pid of the child process. * `output` {Array} Array of results from stdio output. diff --git a/doc/api/cluster.md b/doc/api/cluster.md index a053a4d31a..ab7f45154d 100644 --- a/doc/api/cluster.md +++ b/doc/api/cluster.md @@ -703,9 +703,6 @@ values are `'rr'` and `'none'`. <!-- YAML added: v0.7.1 changes: - - version: v11.0.0 - pr-url: https://github.com/nodejs/node/pull/21316 - description: The `windowsHide` option now defaults to `true`. - version: v9.5.0 pr-url: https://github.com/nodejs/node/pull/18399 description: The `cwd` option is supported now. @@ -740,7 +737,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:** `true`. + normally be created on Windows systems. **Default:** `false`. After calling `.setupMaster()` (or `.fork()`) this settings object will contain the settings, including the default values. |