@@ -38,7 +38,7 @@ the event loop until the spawned process either exits or is terminated.
3838
3939For convenience, the ` child_process ` module provides a handful of synchronous
4040and asynchronous alternatives to [ ` child_process.spawn() ` ] [ ] and
41- [ ` child_process.spawnSync() ` ] [ ] . * Note that each of these alternatives are
41+ [ ` child_process.spawnSync() ` ] [ ] . * Note that each of these alternatives are
4242implemented on top of [ ` child_process.spawn() ` ] [ ] or [ ` child_process.spawnSync() ` ] [ ] .*
4343
4444 * [ ` child_process.exec() ` ] [ ] : spawns a shell and runs a command within that shell,
@@ -143,8 +143,8 @@ changes:
143143 [ Shell Requirements] [ ] and [ Default Windows Shell] [ ] .
144144 * ` timeout ` {number} ** Default:** ` 0 `
145145 * ` maxBuffer ` {number} Largest amount of data in bytes allowed on stdout or
146- stderr. ** Default:** ` 200* 1024 ` . If exceeded, the child process is terminated.
147- See caveat at [ ` maxBuffer ` and Unicode] [ ] .
146+ stderr. ** Default:** ` 200 * 1024 ` . If exceeded, the child process is
147+ terminated. See caveat at [ ` maxBuffer ` and Unicode] [ ] .
148148 * ` killSignal ` {string|integer} ** Default:** ` 'SIGTERM' `
149149 * ` uid ` {number} Sets the user identity of the process (see setuid(2)).
150150 * ` gid ` {number} Sets the group identity of the process (see setgid(2)).
@@ -187,7 +187,7 @@ exec('cat *.js bad_file | wc -l', (error, stdout, stderr) => {
187187```
188188
189189If a ` callback ` function is provided, it is called with the arguments
190- ` (error, stdout, stderr) ` . On success, ` error ` will be ` null ` . On error,
190+ ` (error, stdout, stderr) ` . On success, ` error ` will be ` null ` . On error,
191191` error ` will be an instance of [ ` Error ` ] [ ] . The ` error.code ` property will be
192192the exit code of the child process while ` error.signal ` will be set to the
193193signal that terminated the process. Any exit code other than ` 0 ` is considered
@@ -257,8 +257,8 @@ changes:
257257 * ` encoding ` {string} ** Default:** ` 'utf8' `
258258 * ` timeout ` {number} ** Default:** ` 0 `
259259 * ` maxBuffer ` {number} Largest amount of data in bytes allowed on stdout or
260- stderr. ** Default:** ` 200* 1024 ` If exceeded, the child process is terminated.
261- See caveat at [ ` maxBuffer ` and Unicode] [ ] .
260+ stderr. ** Default:** ` 200 * 1024 ` If exceeded, the child process is
261+ terminated. See caveat at [ ` maxBuffer ` and Unicode] [ ] .
262262 * ` killSignal ` {string|integer} ** Default:** ` 'SIGTERM' `
263263 * ` uid ` {number} Sets the user identity of the process (see setuid(2)).
264264 * ` gid ` {number} Sets the group identity of the process (see setgid(2)).
@@ -536,7 +536,7 @@ disabled*.
536536On non-Windows platforms, if ` options.detached ` is set to ` true ` , the child
537537process will be made the leader of a new process group and session. Note that
538538child processes may continue running after the parent exits regardless of
539- whether they are detached or not. See setsid(2) for more information.
539+ whether they are detached or not. See setsid(2) for more information.
540540
541541By default, the parent will wait for the detached child to exit. To prevent
542542the parent from waiting for a given ` subprocess ` , use the ` subprocess.unref() `
@@ -706,8 +706,8 @@ changes:
706706 * ` killSignal ` {string|integer} The signal value to be used when the spawned
707707 process will be killed. ** Default:** ` 'SIGTERM' `
708708 * ` maxBuffer ` {number} Largest amount of data in bytes allowed on stdout or
709- stderr. ** Default:** ` 200* 1024 ` If exceeded, the child process is terminated.
710- See caveat at [ ` maxBuffer ` and Unicode] [ ] .
709+ stderr. ** Default:** ` 200 * 1024 ` If exceeded, the child process is
710+ terminated. See caveat at [ ` maxBuffer ` and Unicode] [ ] .
711711 * ` encoding ` {string} The encoding used for all stdio inputs and outputs. ** Default:** ` 'buffer' `
712712 * ` windowsHide ` {boolean} Hide the subprocess console window that would
713713 normally be created on Windows systems. ** Default:** ` false ` .
@@ -767,8 +767,8 @@ changes:
767767 * ` killSignal ` {string|integer} The signal value to be used when the spawned
768768 process will be killed. ** Default:** ` 'SIGTERM' `
769769 * ` maxBuffer ` {number} Largest amount of data in bytes allowed on stdout or
770- stderr. ** Default:** ` 200* 1024 ` If exceeded, the child process is terminated.
771- See caveat at [ ` maxBuffer ` and Unicode] [ ] .
770+ stderr. ** Default:** ` 200 * 1024 ` If exceeded, the child process is
771+ terminated. See caveat at [ ` maxBuffer ` and Unicode] [ ] .
772772 * ` encoding ` {string} The encoding used for all stdio inputs and outputs.
773773 ** Default:** ` 'buffer' `
774774 * ` windowsHide ` {boolean} Hide the subprocess console window that would
@@ -779,12 +779,12 @@ The `child_process.execSync()` method is generally identical to
779779[ ` child_process.exec() ` ] [ ] with the exception that the method will not return until
780780the child process has fully closed. When a timeout has been encountered and
781781` killSignal ` is sent, the method won't return until the process has completely
782- exited. * Note that if the child process intercepts and handles the ` SIGTERM `
782+ exited. * Note that if the child process intercepts and handles the ` SIGTERM `
783783signal and doesn't exit, the parent process will wait until the child
784784process has exited.*
785785
786786If the process times out or has a non-zero exit code, this method *** will***
787- throw. The [ ` Error ` ] [ ] object will contain the entire result from
787+ throw. The [ ` Error ` ] [ ] object will contain the entire result from
788788[ ` child_process.spawnSync() ` ] [ ]
789789
790790* Note* : Never pass unsanitized user input to this function. Any input
@@ -825,8 +825,8 @@ changes:
825825 * ` killSignal ` {string|integer} The signal value to be used when the spawned
826826 process will be killed. ** Default:** ` 'SIGTERM' `
827827 * ` maxBuffer ` {number} Largest amount of data in bytes allowed on stdout or
828- stderr. ** Default:** ` 200* 1024 ` If exceeded, the child process is terminated.
829- See caveat at [ ` maxBuffer ` and Unicode] [ ] .
828+ stderr. ** Default:** ` 200 * 1024 ` If exceeded, the child process is
829+ terminated. See caveat at [ ` maxBuffer ` and Unicode] [ ] .
830830 * ` encoding ` {string} The encoding used for all stdio inputs and outputs.
831831 ** Default:** ` 'buffer' `
832832 * ` shell ` {boolean|string} If ` true ` , runs ` command ` inside of a shell. Uses
@@ -1169,7 +1169,7 @@ properties:
11691169 Defaults to ` false ` .
11701170
11711171The optional ` callback ` is a function that is invoked after the message is
1172- sent but before the child may have received it. The function is called with a
1172+ sent but before the child may have received it. The function is called with a
11731173single argument: ` null ` on success, or an [ ` Error ` ] [ ] object on failure.
11741174
11751175If no ` callback ` function is provided and the message cannot be sent, an
0 commit comments