@@ -131,6 +131,9 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => {
131131<!-- YAML
132132added: v0.1.90
133133changes:
134+ - version: REPLACEME
135+ pr-url: https://github.com/nodejs/node/pull/21316
136+ description: The `windowsHide` option now defaults to `true`.
134137 - version: v8.8.0
135138 pr-url: https://github.com/nodejs/node/pull/15380
136139 description: The `windowsHide` option is supported now.
@@ -153,7 +156,7 @@ changes:
153156 * ` uid ` {number} Sets the user identity of the process (see setuid(2)).
154157 * ` gid ` {number} Sets the group identity of the process (see setgid(2)).
155158 * ` windowsHide ` {boolean} Hide the subprocess console window that would
156- normally be created on Windows systems. ** Default:** ` false ` .
159+ normally be created on Windows systems. ** Default:** ` true ` .
157160* ` callback ` {Function} called with the output when process terminates.
158161 * ` error ` {Error}
159162 * ` stdout ` {string|Buffer}
@@ -232,6 +235,9 @@ lsExample();
232235<!-- YAML
233236added: v0.1.91
234237changes:
238+ - version: REPLACEME
239+ pr-url: https://github.com/nodejs/node/pull/21316
240+ description: The `windowsHide` option now defaults to `true`.
235241 - version: v8.8.0
236242 pr-url: https://github.com/nodejs/node/pull/15380
237243 description: The `windowsHide` option is supported now.
@@ -251,7 +257,7 @@ changes:
251257 * ` uid ` {number} Sets the user identity of the process (see setuid(2)).
252258 * ` gid ` {number} Sets the group identity of the process (see setgid(2)).
253259 * ` windowsHide ` {boolean} Hide the subprocess console window that would
254- normally be created on Windows systems. ** Default:** ` false ` .
260+ normally be created on Windows systems. ** Default:** ` true ` .
255261 * ` windowsVerbatimArguments ` {boolean} No quoting or escaping of arguments is
256262 done on Windows. Ignored on Unix. ** Default:** ` false ` .
257263 * ` shell ` {boolean|string} If ` true ` , runs ` command ` inside of a shell. Uses
@@ -375,6 +381,9 @@ The `shell` option available in [`child_process.spawn()`][] is not supported by
375381<!-- YAML
376382added: v0.1.90
377383changes:
384+ - version: REPLACEME
385+ pr-url: https://github.com/nodejs/node/pull/21316
386+ description: The `windowsHide` option now defaults to `true`.
378387 - version: v8.8.0
379388 pr-url: https://github.com/nodejs/node/pull/15380
380389 description: The `windowsHide` option is supported now.
@@ -408,7 +417,7 @@ changes:
408417 done on Windows. Ignored on Unix. This is set to ` true ` automatically
409418 when ` shell ` is specified. ** Default:** ` false ` .
410419 * ` windowsHide ` {boolean} Hide the subprocess console window that would
411- normally be created on Windows systems. ** Default:** ` false ` .
420+ normally be created on Windows systems. ** Default:** ` true ` .
412421* Returns: {ChildProcess}
413422
414423The ` child_process.spawn() ` method spawns a new process using the given
@@ -669,6 +678,9 @@ configuration at startup.
669678<!-- YAML
670679added: v0.11.12
671680changes:
681+ - version: REPLACEME
682+ pr-url: https://github.com/nodejs/node/pull/21316
683+ description: The `windowsHide` option now defaults to `true`.
672684 - version: v8.8.0
673685 pr-url: https://github.com/nodejs/node/pull/15380
674686 description: The `windowsHide` option is supported now.
@@ -702,7 +714,7 @@ changes:
702714 * ` encoding ` {string} The encoding used for all stdio inputs and outputs.
703715 ** Default:** ` 'buffer' ` .
704716 * ` windowsHide ` {boolean} Hide the subprocess console window that would
705- normally be created on Windows systems. ** Default:** ` false ` .
717+ normally be created on Windows systems. ** Default:** ` true ` .
706718 * ` shell ` {boolean|string} If ` true ` , runs ` command ` inside of a shell. Uses
707719 ` '/bin/sh' ` on UNIX, and ` process.env.ComSpec ` on Windows. A different
708720 shell can be specified as a string. See [ Shell Requirements] [ ] and
@@ -731,6 +743,9 @@ arbitrary command execution.**
731743<!-- YAML
732744added: v0.11.12
733745changes:
746+ - version: REPLACEME
747+ pr-url: https://github.com/nodejs/node/pull/21316
748+ description: The `windowsHide` option now defaults to `true`.
734749 - version: v8.8.0
735750 pr-url: https://github.com/nodejs/node/pull/15380
736751 description: The `windowsHide` option is supported now.
@@ -763,7 +778,7 @@ changes:
763778 * ` encoding ` {string} The encoding used for all stdio inputs and outputs.
764779 ** Default:** ` 'buffer' ` .
765780 * ` windowsHide ` {boolean} Hide the subprocess console window that would
766- normally be created on Windows systems. ** Default:** ` false ` .
781+ normally be created on Windows systems. ** Default:** ` true ` .
767782* Returns: {Buffer|string} The stdout from the command.
768783
769784The ` child_process.execSync() ` method is generally identical to
@@ -785,6 +800,9 @@ metacharacters may be used to trigger arbitrary command execution.**
785800<!-- YAML
786801added: v0.11.12
787802changes:
803+ - version: REPLACEME
804+ pr-url: https://github.com/nodejs/node/pull/21316
805+ description: The `windowsHide` option now defaults to `true`.
788806 - version: v8.8.0
789807 pr-url: https://github.com/nodejs/node/pull/15380
790808 description: The `windowsHide` option is supported now.
@@ -826,7 +844,7 @@ changes:
826844 done on Windows. Ignored on Unix. This is set to ` true ` automatically
827845 when ` shell ` is specified. ** Default:** ` false ` .
828846 * ` windowsHide ` {boolean} Hide the subprocess console window that would
829- normally be created on Windows systems. ** Default:** ` false ` .
847+ normally be created on Windows systems. ** Default:** ` true ` .
830848* Returns: {Object}
831849 * ` pid ` {number} Pid of the child process.
832850 * ` output ` {Array} Array of results from stdio output.
0 commit comments