@@ -41,7 +41,7 @@ the event loop until the spawned process either exits or is terminated.
4141
4242For convenience, the ` child_process `  module provides a handful of synchronous
4343and asynchronous alternatives to [ ` child_process.spawn() ` ] [ ]  and
44- [ ` child_process.spawnSync() ` ] [ ] .   * Note that each of these alternatives are
44+ [ ` child_process.spawnSync() ` ] [ ] . * Note that each of these alternatives are
4545implemented on top of [ ` child_process.spawn() ` ] [ ]  or [ ` child_process.spawnSync() ` ] [ ] .* 
4646
4747  *  [ ` child_process.exec() ` ] [ ] : spawns a shell and runs a command within that shell,
@@ -146,8 +146,8 @@ changes:
146146    [ Shell Requirements] [ ]  and [ Default Windows Shell] [ ] .
147147  *  ` timeout `  {number} ** Default:**  ` 0 ` 
148148  *  ` maxBuffer `  {number} Largest amount of data in bytes allowed on stdout or
149-     stderr. ** Default: **   ` 200*1024 ` .  If exceeded, the child process is terminated.
150-     See caveat at  [ ` maxBuffer `  and Unicode] [ ] .
149+     stderr. If exceeded, the child process is terminated. See caveat at 
150+     [ ` maxBuffer `  and Unicode] [ ] .  ** Default: **   ` 200 * 1024 ` .
151151  *  ` killSignal `  {string|integer} ** Default:**  ` 'SIGTERM' ` 
152152  *  ` uid `  {number} Sets the user identity of the process (see setuid(2)).
153153  *  ` gid `  {number} Sets the group identity of the process (see setgid(2)).
@@ -189,7 +189,7 @@ exec('cat *.js bad_file | wc -l', (error, stdout, stderr) => {
189189``` 
190190
191191If a ` callback `  function is provided, it is called with the arguments
192- ` (error, stdout, stderr) ` . On success, ` error `  will be ` null ` .   On error,
192+ ` (error, stdout, stderr) ` . On success, ` error `  will be ` null ` . On error,
193193` error `  will be an instance of [ ` Error ` ] [ ] . The ` error.code `  property will be
194194the exit code of the child process while ` error.signal `  will be set to the
195195signal that terminated the process. Any exit code other than ` 0 `  is considered
@@ -258,8 +258,8 @@ changes:
258258  *  ` encoding `  {string} ** Default:**  ` 'utf8' ` 
259259  *  ` timeout `  {number} ** Default:**  ` 0 ` 
260260  *  ` maxBuffer `  {number} Largest amount of data in bytes allowed on stdout or
261-     stderr. ** Default: **   ` 200*1024 `   If exceeded, the child process is terminated.
262-     See caveat at  [ ` maxBuffer `  and Unicode] [ ] .
261+     stderr. If exceeded, the child process is terminated. See caveat at 
262+     [ ` maxBuffer `  and Unicode] [ ] .  ** Default: **   ` 200 * 1024 ` .
263263  *  ` killSignal `  {string|integer} ** Default:**  ` 'SIGTERM' ` 
264264  *  ` uid `  {number} Sets the user identity of the process (see setuid(2)).
265265  *  ` gid `  {number} Sets the group identity of the process (see setgid(2)).
@@ -538,7 +538,7 @@ disabled*.
538538On non-Windows platforms, if ` options.detached `  is set to ` true ` , the child
539539process will be made the leader of a new process group and session. Note that
540540child processes may continue running after the parent exits regardless of
541- whether they are detached or not.   See setsid(2) for more information.
541+ whether they are detached or not. See setsid(2) for more information.
542542
543543By default, the parent will wait for the detached child to exit. To prevent
544544the parent from waiting for a given ` subprocess ` , use the ` subprocess.unref() ` 
@@ -712,9 +712,10 @@ changes:
712712  *  ` killSignal `  {string|integer} The signal value to be used when the spawned
713713    process will be killed. ** Default:**  ` 'SIGTERM' ` 
714714  *  ` maxBuffer `  {number} Largest amount of data in bytes allowed on stdout or
715-     stderr. ** Default:**  ` 200*1024 `  If exceeded, the child process is terminated.
716-     See caveat at [ ` maxBuffer `  and Unicode] [ ] .
717-   *  ` encoding `  {string} The encoding used for all stdio inputs and outputs. ** Default:**  ` 'buffer' ` 
715+     stderr. If exceeded, the child process is terminated. See caveat at
716+     [ ` maxBuffer `  and Unicode] [ ] . ** Default:**  ` 200 * 1024 ` .
717+   *  ` encoding `  {string} The encoding used for all stdio inputs and outputs.
718+     ** Default:**  ` 'buffer' ` .
718719  *  ` windowsHide `  {boolean} Hide the subprocess console window that would
719720    normally be created on Windows systems. ** Default:**  ` false ` .
720721  *  ` shell `  {boolean|string} If ` true ` , runs ` command `  inside of a shell. Uses
@@ -773,8 +774,8 @@ changes:
773774  *  ` killSignal `  {string|integer} The signal value to be used when the spawned
774775    process will be killed. ** Default:**  ` 'SIGTERM' ` 
775776  *  ` maxBuffer `  {number} Largest amount of data in bytes allowed on stdout or
776-     stderr. ** Default: **   ` 200*1024 `   If exceeded, the child process is terminated.
777-     See caveat at  [ ` maxBuffer `  and Unicode] [ ] .
777+     stderr. If exceeded, the child process is terminated. See caveat at 
778+     [ ` maxBuffer `  and Unicode] [ ] .  ** Default: **   ` 200 * 1024 ` .
778779  *  ` encoding `  {string} The encoding used for all stdio inputs and outputs.
779780    ** Default:**  ` 'buffer' ` 
780781  *  ` windowsHide `  {boolean} Hide the subprocess console window that would
@@ -785,12 +786,12 @@ The `child_process.execSync()` method is generally identical to
785786[ ` child_process.exec() ` ] [ ]  with the exception that the method will not return until
786787the child process has fully closed. When a timeout has been encountered and
787788` killSignal `  is sent, the method won't return until the process has completely
788- exited. * Note that if   the child process intercepts and handles the ` SIGTERM ` 
789+ exited. * Note that if the child process intercepts and handles the ` SIGTERM ` 
789790signal and doesn't exit, the parent process will wait until the child
790791process has exited.* 
791792
792793If the process times out or has a non-zero exit code, this method *** will*** 
793- throw.   The [ ` Error ` ] [ ]  object will contain the entire result from
794+ throw. The [ ` Error ` ] [ ]  object will contain the entire result from
794795[ ` child_process.spawnSync() ` ] [ ] 
795796
796797** Never pass unsanitized user input to this function. Any input containing shell
@@ -830,8 +831,8 @@ changes:
830831  *  ` killSignal `  {string|integer} The signal value to be used when the spawned
831832    process will be killed. ** Default:**  ` 'SIGTERM' ` 
832833  *  ` maxBuffer `  {number} Largest amount of data in bytes allowed on stdout or
833-     stderr. ** Default: **   ` 200*1024 `   If exceeded, the child process is terminated.
834-     See caveat at  [ ` maxBuffer `  and Unicode] [ ] .
834+     stderr. If exceeded, the child process is terminated. See caveat at 
835+     [ ` maxBuffer `  and Unicode] [ ] .  ** Default: **   ` 200 * 1024 ` .
835836  *  ` encoding `  {string} The encoding used for all stdio inputs and outputs.
836837    ** Default:**  ` 'buffer' ` 
837838  *  ` shell `  {boolean|string} If ` true ` , runs ` command `  inside of a shell. Uses
@@ -1168,7 +1169,7 @@ properties:
11681169    Defaults to ` false ` .
11691170
11701171The optional ` callback `  is a function that is invoked after the message is
1171- 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
11721173single argument: ` null `  on success, or an [ ` Error ` ] [ ]  object on failure.
11731174
11741175If no ` callback `  function is provided and the message cannot be sent, an
0 commit comments