summaryrefslogtreecommitdiff
path: root/doc/api/child_process.md
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-11-02 00:11:54 -0700
committerRich Trott <rtrott@gmail.com>2018-11-13 14:38:23 -0800
commitad6ead3aab24e6b703d4982ba0563a15561a2915 (patch)
tree69a1582401f2de01b4e87df1d84486432e736676 /doc/api/child_process.md
parenta2c2c78e097c4e1036eb24abd620a52c709a9467 (diff)
downloadandroid-node-v8-ad6ead3aab24e6b703d4982ba0563a15561a2915.tar.gz
android-node-v8-ad6ead3aab24e6b703d4982ba0563a15561a2915.tar.bz2
android-node-v8-ad6ead3aab24e6b703d4982ba0563a15561a2915.zip
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/api/child_process.md')
-rw-r--r--doc/api/child_process.md30
1 files changed, 6 insertions, 24 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.