@@ -131,6 +131,9 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => {
131
131
<!-- YAML
132
132
added: v0.1.90
133
133
changes:
134
+ - version: REPLACEME
135
+ pr-url: https://github.com/nodejs/node/pull/21316
136
+ description: The `windowsHide` option now defaults to `true`.
134
137
- version: v8.8.0
135
138
pr-url: https://github.com/nodejs/node/pull/15380
136
139
description: The `windowsHide` option is supported now.
@@ -153,7 +156,7 @@ changes:
153
156
* ` uid ` {number} Sets the user identity of the process (see setuid(2)).
154
157
* ` gid ` {number} Sets the group identity of the process (see setgid(2)).
155
158
* ` 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 ` .
157
160
* ` callback ` {Function} called with the output when process terminates.
158
161
* ` error ` {Error}
159
162
* ` stdout ` {string|Buffer}
@@ -232,6 +235,9 @@ lsExample();
232
235
<!-- YAML
233
236
added: v0.1.91
234
237
changes:
238
+ - version: REPLACEME
239
+ pr-url: https://github.com/nodejs/node/pull/21316
240
+ description: The `windowsHide` option now defaults to `true`.
235
241
- version: v8.8.0
236
242
pr-url: https://github.com/nodejs/node/pull/15380
237
243
description: The `windowsHide` option is supported now.
@@ -251,7 +257,7 @@ changes:
251
257
* ` uid ` {number} Sets the user identity of the process (see setuid(2)).
252
258
* ` gid ` {number} Sets the group identity of the process (see setgid(2)).
253
259
* ` 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 ` .
255
261
* ` windowsVerbatimArguments ` {boolean} No quoting or escaping of arguments is
256
262
done on Windows. Ignored on Unix. ** Default:** ` false ` .
257
263
* ` 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
375
381
<!-- YAML
376
382
added: v0.1.90
377
383
changes:
384
+ - version: REPLACEME
385
+ pr-url: https://github.com/nodejs/node/pull/21316
386
+ description: The `windowsHide` option now defaults to `true`.
378
387
- version: v8.8.0
379
388
pr-url: https://github.com/nodejs/node/pull/15380
380
389
description: The `windowsHide` option is supported now.
@@ -408,7 +417,7 @@ changes:
408
417
done on Windows. Ignored on Unix. This is set to ` true ` automatically
409
418
when ` shell ` is specified. ** Default:** ` false ` .
410
419
* ` 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 ` .
412
421
* Returns: {ChildProcess}
413
422
414
423
The ` child_process.spawn() ` method spawns a new process using the given
@@ -669,6 +678,9 @@ configuration at startup.
669
678
<!-- YAML
670
679
added: v0.11.12
671
680
changes:
681
+ - version: REPLACEME
682
+ pr-url: https://github.com/nodejs/node/pull/21316
683
+ description: The `windowsHide` option now defaults to `true`.
672
684
- version: v8.8.0
673
685
pr-url: https://github.com/nodejs/node/pull/15380
674
686
description: The `windowsHide` option is supported now.
@@ -702,7 +714,7 @@ changes:
702
714
* ` encoding ` {string} The encoding used for all stdio inputs and outputs.
703
715
** Default:** ` 'buffer' ` .
704
716
* ` 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 ` .
706
718
* ` shell ` {boolean|string} If ` true ` , runs ` command ` inside of a shell. Uses
707
719
` '/bin/sh' ` on UNIX, and ` process.env.ComSpec ` on Windows. A different
708
720
shell can be specified as a string. See [ Shell Requirements] [ ] and
@@ -731,6 +743,9 @@ arbitrary command execution.**
731
743
<!-- YAML
732
744
added: v0.11.12
733
745
changes:
746
+ - version: REPLACEME
747
+ pr-url: https://github.com/nodejs/node/pull/21316
748
+ description: The `windowsHide` option now defaults to `true`.
734
749
- version: v8.8.0
735
750
pr-url: https://github.com/nodejs/node/pull/15380
736
751
description: The `windowsHide` option is supported now.
@@ -763,7 +778,7 @@ changes:
763
778
* ` encoding ` {string} The encoding used for all stdio inputs and outputs.
764
779
** Default:** ` 'buffer' ` .
765
780
* ` 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 ` .
767
782
* Returns: {Buffer|string} The stdout from the command.
768
783
769
784
The ` child_process.execSync() ` method is generally identical to
@@ -785,6 +800,9 @@ metacharacters may be used to trigger arbitrary command execution.**
785
800
<!-- YAML
786
801
added: v0.11.12
787
802
changes:
803
+ - version: REPLACEME
804
+ pr-url: https://github.com/nodejs/node/pull/21316
805
+ description: The `windowsHide` option now defaults to `true`.
788
806
- version: v8.8.0
789
807
pr-url: https://github.com/nodejs/node/pull/15380
790
808
description: The `windowsHide` option is supported now.
@@ -826,7 +844,7 @@ changes:
826
844
done on Windows. Ignored on Unix. This is set to ` true ` automatically
827
845
when ` shell ` is specified. ** Default:** ` false ` .
828
846
* ` 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 ` .
830
848
* Returns: {Object}
831
849
* ` pid ` {number} Pid of the child process.
832
850
* ` output ` {Array} Array of results from stdio output.
0 commit comments