@@ -485,7 +485,7 @@ See also: `child_process.exec()` and `child_process.fork()`
485
485
understand the ` -c ` switch on UNIX or ` /s /c ` on Windows. On Windows,
486
486
command line parsing should be compatible with ` cmd.exe ` .)
487
487
* ` timeout ` {Number} (Default: 0)
488
- * ` maxBuffer ` {Number} (Default: ` 200*1024 ` )
488
+ * ` maxBuffer ` {Number} Max bytes (Default: ` 200*1024 ` )
489
489
* ` killSignal ` {String} (Default: 'SIGTERM')
490
490
* ` uid ` {Number} Sets the user identity of the process. (See setuid(2).)
491
491
* ` gid ` {Number} Sets the group identity of the process. (See setgid(2).)
@@ -527,7 +527,7 @@ default options are
527
527
If ` timeout ` is greater than 0, then it will kill the child process
528
528
if it runs longer than ` timeout ` milliseconds. The child process is killed with
529
529
` killSignal ` (default: ` 'SIGTERM' ` ). ` maxBuffer ` specifies the largest
530
- amount of data allowed on stdout or stderr - if this value is exceeded then
530
+ amount of data (in bytes) allowed on stdout or stderr - if this value is exceeded then
531
531
the child process is killed.
532
532
533
533
@@ -540,7 +540,7 @@ the child process is killed.
540
540
* ` env ` {Object} Environment key-value pairs
541
541
* ` encoding ` {String} (Default: 'utf8')
542
542
* ` timeout ` {Number} (Default: 0)
543
- * ` maxBuffer ` {Number} (Default: 200\* 1024)
543
+ * ` maxBuffer ` {Number} Max bytes (Default: 200\* 1024)
544
544
* ` killSignal ` {String} (Default: 'SIGTERM')
545
545
* ` uid ` {Number} Sets the user identity of the process. (See setuid(2).)
546
546
* ` gid ` {Number} Sets the group identity of the process. (See setgid(2).)
@@ -612,7 +612,7 @@ configuration at startup.
612
612
* ` gid ` {Number} Sets the group identity of the process. (See setgid(2).)
613
613
* ` timeout ` {Number} In milliseconds the maximum amount of time the process is allowed to run. (Default: undefined)
614
614
* ` killSignal ` {String} The signal value to be used when the spawned process will be killed. (Default: 'SIGTERM')
615
- * ` maxBuffer ` {Number}
615
+ * ` maxBuffer ` {Number} Max bytes
616
616
* ` encoding ` {String} The encoding used for all stdio inputs and outputs. (Default: 'buffer')
617
617
* return: {Object}
618
618
* ` pid ` {Number} Pid of the child process
@@ -645,7 +645,7 @@ process has exited.
645
645
* ` gid ` {Number} Sets the group identity of the process. (See setgid(2).)
646
646
* ` timeout ` {Number} In milliseconds the maximum amount of time the process is allowed to run. (Default: undefined)
647
647
* ` killSignal ` {String} The signal value to be used when the spawned process will be killed. (Default: 'SIGTERM')
648
- * ` maxBuffer ` {Number}
648
+ * ` maxBuffer ` {Number} Max bytes
649
649
* ` encoding ` {String} The encoding used for all stdio inputs and outputs. (Default: 'buffer')
650
650
* return: {Buffer|String} The stdout from the command
651
651
@@ -675,7 +675,7 @@ throw. The `Error` object will contain the entire result from
675
675
* ` gid ` {Number} Sets the group identity of the process. (See setgid(2).)
676
676
* ` timeout ` {Number} In milliseconds the maximum amount of time the process is allowed to run. (Default: undefined)
677
677
* ` killSignal ` {String} The signal value to be used when the spawned process will be killed. (Default: 'SIGTERM')
678
- * ` maxBuffer ` {Number}
678
+ * ` maxBuffer ` {Number} Max bytes
679
679
* ` encoding ` {String} The encoding used for all stdio inputs and outputs. (Default: 'buffer')
680
680
* return: {Buffer|String} The stdout from the command
681
681
0 commit comments