@@ -127,6 +127,10 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => {
127127### child_process.exec(command[ , options] [ , callback ] )
128128<!-- YAML
129129added: v0.1.90
130+ changes:
131+ - version: REPLACEME
132+ pr-url: https://github.com/nodejs/node/pull/15380
133+ description: The `windowsHide` option is supported now.
130134-->
131135
132136* ` command ` {string} The command to run, with space-separated arguments.
@@ -145,6 +149,8 @@ added: v0.1.90
145149 * ` killSignal ` {string|integer} ** Default:** ` 'SIGTERM' `
146150 * ` uid ` {number} Sets the user identity of the process (see setuid(2)).
147151 * ` gid ` {number} Sets the group identity of the process (see setgid(2)).
152+ * ` windowsHide ` {boolean} Hide the subprocess console window that would
153+ normally be created on Windows systems. ** Default:** ` false ` .
148154* ` callback ` {Function} called with the output when process terminates.
149155 * ` error ` {Error}
150156 * ` stdout ` {string|Buffer}
@@ -238,6 +244,10 @@ lsExample();
238244### child_process.execFile(file[ , args] [ , options ] [ , callback] )
239245<!-- YAML
240246added: v0.1.91
247+ changes:
248+ - version: REPLACEME
249+ pr-url: https://github.com/nodejs/node/pull/15380
250+ description: The `windowsHide` option is supported now.
241251-->
242252
243253* ` file ` {string} The name or path of the executable file to run.
@@ -253,6 +263,8 @@ added: v0.1.91
253263 * ` killSignal ` {string|integer} ** Default:** ` 'SIGTERM' `
254264 * ` uid ` {number} Sets the user identity of the process (see setuid(2)).
255265 * ` gid ` {number} Sets the group identity of the process (see setgid(2)).
266+ * ` windowsHide ` {boolean} Hide the subprocess console window that would
267+ normally be created on Windows systems. ** Default:** ` false ` .
256268* ` callback ` {Function} Called with the output when process terminates.
257269 * ` error ` {Error}
258270 * ` stdout ` {string|Buffer}
@@ -364,6 +376,9 @@ supported by `child_process.fork()` and will be ignored if set.
364376<!-- YAML
365377added: v0.1.90
366378changes:
379+ - version: REPLACEME
380+ pr-url: https://github.com/nodejs/node/pull/15380
381+ description: The `windowsHide` option is supported now.
367382 - version: v6.4.0
368383 pr-url: https://github.com/nodejs/node/pull/7696
369384 description: The `argv0` option is supported now.
@@ -390,6 +405,8 @@ changes:
390405 ` '/bin/sh' ` on UNIX, and ` process.env.ComSpec ` on Windows. A different
391406 shell can be specified as a string. See [ Shell Requirements] [ ] and
392407 [ Default Windows Shell] [ ] . ** Default:** ` false ` (no shell).
408+ * ` windowsHide ` {boolean} Hide the subprocess console window that would
409+ normally be created on Windows systems. ** Default:** ` false ` .
393410* Returns: {ChildProcess}
394411
395412The ` child_process.spawn() ` method spawns a new process using the given
@@ -649,6 +666,9 @@ configuration at startup.
649666<!-- YAML
650667added: v0.11.12
651668changes:
669+ - version: REPLACEME
670+ pr-url: https://github.com/nodejs/node/pull/15380
671+ description: The `windowsHide` option is supported now.
652672 - version: v8.0.0
653673 pr-url: https://github.com/nodejs/node/pull/10653
654674 description: The `input` option can now be a `Uint8Array`.
@@ -678,6 +698,8 @@ changes:
678698 stderr. ** Default:** ` 200*1024 ` If exceeded, the child process is terminated.
679699 See caveat at [ ` maxBuffer ` and Unicode] [ ] .
680700 * ` encoding ` {string} The encoding used for all stdio inputs and outputs. ** Default:** ` 'buffer' `
701+ * ` windowsHide ` {boolean} Hide the subprocess console window that would
702+ normally be created on Windows systems. ** Default:** ` false ` .
681703* Returns: {Buffer|string} The stdout from the command.
682704
683705The ` child_process.execFileSync() ` method is generally identical to
@@ -698,6 +720,9 @@ throw an [`Error`][] that will include the full result of the underlying
698720<!-- YAML
699721added: v0.11.12
700722changes:
723+ - version: REPLACEME
724+ pr-url: https://github.com/nodejs/node/pull/15380
725+ description: The `windowsHide` option is supported now.
701726 - version: v8.0.0
702727 pr-url: https://github.com/nodejs/node/pull/10653
703728 description: The `input` option can now be a `Uint8Array`.
@@ -727,6 +752,8 @@ changes:
727752 See caveat at [ ` maxBuffer ` and Unicode] [ ] .
728753 * ` encoding ` {string} The encoding used for all stdio inputs and outputs.
729754 ** Default:** ` 'buffer' `
755+ * ` windowsHide ` {boolean} Hide the subprocess console window that would
756+ normally be created on Windows systems. ** Default:** ` false ` .
730757* Returns: {Buffer|string} The stdout from the command.
731758
732759The ` child_process.execSync() ` method is generally identical to
@@ -749,6 +776,9 @@ execution.
749776<!-- YAML
750777added: v0.11.12
751778changes:
779+ - version: REPLACEME
780+ pr-url: https://github.com/nodejs/node/pull/15380
781+ description: The `windowsHide` option is supported now.
752782 - version: v8.0.0
753783 pr-url: https://github.com/nodejs/node/pull/10653
754784 description: The `input` option can now be a `Uint8Array`.
@@ -784,6 +814,8 @@ changes:
784814 ` '/bin/sh' ` on UNIX, and ` process.env.ComSpec ` on Windows. A different
785815 shell can be specified as a string. See [ Shell Requirements] [ ] and
786816 [ Default Windows Shell] [ ] . ** Default:** ` false ` (no shell).
817+ * ` windowsHide ` {boolean} Hide the subprocess console window that would
818+ normally be created on Windows systems. ** Default:** ` false ` .
787819* Returns: {Object}
788820 * ` pid ` {number} Pid of the child process.
789821 * ` output ` {Array} Array of results from stdio output.
0 commit comments