diff --git a/doc/api/child_process.md b/doc/api/child_process.md index c3fd876d4f7fcc..3e7413c071215a 100755 --- a/doc/api/child_process.md +++ b/doc/api/child_process.md @@ -127,6 +127,10 @@ exec('"my script.cmd" a b', (err, stdout, stderr) => { ### child_process.exec(command[, options][, callback]) * `command` {string} The command to run, with space-separated arguments. @@ -144,6 +148,8 @@ added: v0.1.90 * `killSignal` {string|integer} **Default:** `'SIGTERM'` * `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:** `false`. * `callback` {Function} called with the output when process terminates. * `error` {Error} * `stdout` {string|Buffer} @@ -237,6 +243,10 @@ lsExample(); ### child_process.execFile(file[, args][, options][, callback]) * `file` {string} The name or path of the executable file to run. @@ -252,6 +262,8 @@ added: v0.1.91 * `killSignal` {string|integer} **Default:** `'SIGTERM'` * `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:** `false`. * `callback` {Function} Called with the output when process terminates. * `error` {Error} * `stdout` {string|Buffer} @@ -363,6 +375,9 @@ supported by `child_process.fork()` and will be ignored if set.