@@ -135,9 +135,9 @@ added: v0.1.90
135135 understand the ` -c ` switch on UNIX or ` /d /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
@@ -608,17 +608,17 @@ changes:
608608 * ` input ` {string|Buffer|Uint8Array} The value which will be passed as stdin
609609 to the spawned process
610610 - supplying this value will override ` stdio[0] `
611- * ` stdio ` {string | Array} Child's stdio configuration. (Default: ` 'pipe' ` )
611+ * ` stdio ` {string| Array} Child's stdio configuration. (Default: ` 'pipe' ` )
612612 - ` stderr ` by default will be output to the parent process' stderr unless
613613 ` stdio ` is specified
614614 * ` env ` {Object} Environment key-value pairs
615615 * ` uid ` {number} Sets the user identity of the process. (See setuid(2).)
616616 * ` gid ` {number} Sets the group identity of the process. (See setgid(2).)
617617 * ` timeout ` {number} In milliseconds the maximum amount of time the process
618618 is allowed to run. (Default: ` undefined ` )
619- * ` killSignal ` {string|Integer } The signal value to be used when the spawned
619+ * ` killSignal ` {string|integer } The signal value to be used when the spawned
620620 process will be killed. (Default: ` 'SIGTERM' ` )
621- * [ ` maxBuffer ` ] [ ] {Number } largest amount of data (in bytes) allowed on
621+ * [ ` maxBuffer ` ] [ ] {number } largest amount of data (in bytes) allowed on
622622 stdout or stderr - if exceeded child process is killed
623623 * ` encoding ` {string} The encoding used for all stdio inputs and outputs. (Default: ` 'buffer' ` )
624624* Returns: {Buffer|string} The stdout from the command
@@ -650,7 +650,7 @@ changes:
650650 * ` input ` {string|Buffer|Uint8Array} The value which will be passed as stdin
651651 to the spawned process
652652 - supplying this value will override ` stdio[0] `
653- * ` stdio ` {string | Array} Child's stdio configuration. (Default: ` 'pipe' ` )
653+ * ` stdio ` {string| Array} Child's stdio configuration. (Default: ` 'pipe' ` )
654654 - ` stderr ` by default will be output to the parent process' stderr unless
655655 ` stdio ` is specified
656656 * ` env ` {Object} Environment key-value pairs
@@ -662,9 +662,9 @@ changes:
662662 * ` gid ` {number} Sets the group identity of the process. (See setgid(2).)
663663 * ` timeout ` {number} In milliseconds the maximum amount of time the process
664664 is allowed to run. (Default: ` undefined ` )
665- * ` killSignal ` {string|Integer } The signal value to be used when the spawned
665+ * ` killSignal ` {string|integer } The signal value to be used when the spawned
666666 process will be killed. (Default: ` 'SIGTERM' ` )
667- * [ ` maxBuffer ` ] [ ] {Number } largest amount of data (in bytes) allowed on
667+ * [ ` maxBuffer ` ] [ ] {number } largest amount of data (in bytes) allowed on
668668 stdout or stderr - if exceeded child process is killed
669669 * ` encoding ` {string} The encoding used for all stdio inputs and outputs.
670670 (Default: ` 'buffer' ` )
@@ -708,15 +708,15 @@ changes:
708708 * ` input ` {string|Buffer|Uint8Array} The value which will be passed as stdin
709709 to the spawned process
710710 - supplying this value will override ` stdio[0] `
711- * ` stdio ` {string | Array} Child's stdio configuration.
711+ * ` stdio ` {string| Array} Child's stdio configuration.
712712 * ` env ` {Object} Environment key-value pairs
713713 * ` uid ` {number} Sets the user identity of the process. (See setuid(2).)
714714 * ` gid ` {number} Sets the group identity of the process. (See setgid(2).)
715715 * ` timeout ` {number} In milliseconds the maximum amount of time the process
716716 is allowed to run. (Default: ` undefined ` )
717- * ` killSignal ` {string|Integer } The signal value to be used when the spawned
717+ * ` killSignal ` {string|integer } The signal value to be used when the spawned
718718 process will be killed. (Default: ` 'SIGTERM' ` )
719- * [ ` maxBuffer ` ] [ ] {Number } largest amount of data (in bytes) allowed on
719+ * [ ` maxBuffer ` ] [ ] {number } largest amount of data (in bytes) allowed on
720720 stdout or stderr - if exceeded child process is killed
721721 * ` encoding ` {string} The encoding used for all stdio inputs and outputs.
722722 (Default: ` 'buffer' ` )
@@ -846,7 +846,7 @@ IPC channel currently exists, this property is `undefined`.
846846added: v0.7.2
847847-->
848848
849- * {Boolean } Set to ` false ` after ` child.disconnect() ` is called
849+ * {boolean } Set to ` false ` after ` child.disconnect() ` is called
850850
851851The ` child.connected ` property indicates whether it is still possible to send
852852and receive messages from a child process. When ` child.connected ` is ` false ` , it
@@ -933,7 +933,7 @@ setTimeout(() => {
933933added: v0.1.90
934934-->
935935
936- * {Number } Integer
936+ * {number } Integer
937937
938938Returns the process identifier (PID) of the child process.
939939
@@ -967,7 +967,7 @@ changes:
967967* ` sendHandle ` {Handle}
968968* ` options ` {Object}
969969* ` callback ` {Function}
970- * Returns: {Boolean }
970+ * Returns: {boolean }
971971
972972When an IPC channel has been established between the parent and child (
973973i.e. when using [ ` child_process.fork() ` ] [ ] ), the ` child.send() ` method can be
0 commit comments