@@ -135,9 +135,9 @@ added: v0.1.90
135135 understand the `-c` switch on UNIX or `/s /c` on Windows. On Windows,
136136 command line parsing should be compatible with `cmd.exe`.)
137137 * `timeout` {number} (Default: `0`)
138- * [`maxBuffer`][] {Number } largest amount of data (in bytes) allowed on
138+ * [`maxBuffer`][] {number } largest amount of data (in bytes) allowed on
139139 stdout or stderr - if exceeded child process is killed (Default: `200*1024`)
140- * `killSignal` {string|Integer } (Default: `'SIGTERM'`)
140+ * `killSignal` {string|integer } (Default: `'SIGTERM'`)
141141 * `uid` {number} Sets the user identity of the process. (See setuid(2).)
142142 * `gid` {number} Sets the group identity of the process. (See setgid(2).)
143143* `callback` {Function} called with the output when process terminates
@@ -212,9 +212,9 @@ added: v0.1.91
212212 * `env` {Object} Environment key-value pairs
213213 * `encoding` {string} (Default: `'utf8'`)
214214 * `timeout` {number} (Default: `0`)
215- * [`maxBuffer`][] {Number } largest amount of data (in bytes) allowed on
215+ * [`maxBuffer`][] {number } largest amount of data (in bytes) allowed on
216216 stdout or stderr - if exceeded child process is killed (Default: `200*1024`)
217- * `killSignal` {string|Integer } (Default: `'SIGTERM'`)
217+ * `killSignal` {string|integer } (Default: `'SIGTERM'`)
218218 * `uid` {number} Sets the user identity of the process. (See setuid(2).)
219219 * `gid` {number} Sets the group identity of the process. (See setgid(2).)
220220* `callback` {Function} called with the output when process terminates
@@ -583,17 +583,17 @@ added: v0.11.12
583583 * `input` {string|Buffer} The value which will be passed as stdin to the
584584 spawned process
585585 - supplying this value will override `stdio[0]`
586- * `stdio` {string | Array} Child's stdio configuration. (Default: `'pipe'`)
586+ * `stdio` {string| Array} Child's stdio configuration. (Default: `'pipe'`)
587587 - `stderr` by default will be output to the parent process' stderr unless
588588 `stdio` is specified
589589 * `env` {Object} Environment key-value pairs
590590 * `uid` {number} Sets the user identity of the process. (See setuid(2).)
591591 * `gid` {number} Sets the group identity of the process. (See setgid(2).)
592592 * `timeout` {number} In milliseconds the maximum amount of time the process
593593 is allowed to run. (Default: `undefined`)
594- * `killSignal` {string|Integer } The signal value to be used when the spawned
594+ * `killSignal` {string|integer } The signal value to be used when the spawned
595595 process will be killed. (Default: `'SIGTERM'`)
596- * [`maxBuffer`][] {Number } largest amount of data (in bytes) allowed on
596+ * [`maxBuffer`][] {number } largest amount of data (in bytes) allowed on
597597 stdout or stderr - if exceeded child process is killed
598598 * `encoding` {string} The encoding used for all stdio inputs and outputs. (Default: `'buffer'`)
599599* Returns: {Buffer|string} The stdout from the command
@@ -621,7 +621,7 @@ added: v0.11.12
621621 * `input` {string|Buffer} The value which will be passed as stdin to the
622622 spawned process
623623 - supplying this value will override `stdio[0]`
624- * `stdio` {string | Array} Child's stdio configuration. (Default: `'pipe'`)
624+ * `stdio` {string| Array} Child's stdio configuration. (Default: `'pipe'`)
625625 - `stderr` by default will be output to the parent process' stderr unless
626626 `stdio` is specified
627627 * `env` {Object} Environment key-value pairs
@@ -633,9 +633,9 @@ added: v0.11.12
633633 * `gid` {number} Sets the group identity of the process. (See setgid(2).)
634634 * `timeout` {number} In milliseconds the maximum amount of time the process
635635 is allowed to run. (Default: `undefined`)
636- * `killSignal` {string|Integer } The signal value to be used when the spawned
636+ * `killSignal` {string|integer } The signal value to be used when the spawned
637637 process will be killed. (Default: `'SIGTERM'`)
638- * [`maxBuffer`][] {Number } largest amount of data (in bytes) allowed on
638+ * [`maxBuffer`][] {number } largest amount of data (in bytes) allowed on
639639 stdout or stderr - if exceeded child process is killed
640640 * `encoding` {string} The encoding used for all stdio inputs and outputs.
641641 (Default: `'buffer'`)
@@ -669,15 +669,15 @@ added: v0.11.12
669669 * `input` {string|Buffer} The value which will be passed as stdin to the
670670 spawned process
671671 - supplying this value will override `stdio[0]`
672- * `stdio` {string | Array} Child's stdio configuration.
672+ * `stdio` {string| Array} Child's stdio configuration.
673673 * `env` {Object} Environment key-value pairs
674674 * `uid` {number} Sets the user identity of the process. (See setuid(2).)
675675 * `gid` {number} Sets the group identity of the process. (See setgid(2).)
676676 * `timeout` {number} In milliseconds the maximum amount of time the process
677677 is allowed to run. (Default: `undefined`)
678- * `killSignal` {string|Integer } The signal value to be used when the spawned
678+ * `killSignal` {string|integer } The signal value to be used when the spawned
679679 process will be killed. (Default: `'SIGTERM'`)
680- * [`maxBuffer`][] {Number } largest amount of data (in bytes) allowed on
680+ * [`maxBuffer`][] {number } largest amount of data (in bytes) allowed on
681681 stdout or stderr - if exceeded child process is killed
682682 * `encoding` {string} The encoding used for all stdio inputs and outputs.
683683 (Default: `'buffer'`)
@@ -797,7 +797,7 @@ to send messages.
797797added: v0.7.2
798798-->
799799
800- * {Boolean } Set to `false` after `child.disconnect()` is called
800+ * {boolean } Set to `false` after `child.disconnect()` is called
801801
802802The `child.connected` property indicates whether it is still possible to send
803803and receive messages from a child process. When `child.connected` is `false`, it
@@ -884,7 +884,7 @@ setTimeout(() => {
884884added: v0.1.90
885885-->
886886
887- * {Number } Integer
887+ * {number } Integer
888888
889889Returns the process identifier (PID) of the child process.
890890
@@ -907,7 +907,7 @@ added: v0.5.9
907907* `sendHandle` {Handle}
908908* `options` {Object}
909909* `callback` {Function}
910- * Returns: {Boolean }
910+ * Returns: {boolean }
911911
912912When an IPC channel has been established between the parent and child (
913913i.e. when using [`child_process.fork()`][]), the `child.send()` method can be
0 commit comments