mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
doc: killSignal option accepts integer values
`killSignal` option accepts the signal name or signal number as well. PR-URL: https://github.com/nodejs/node/pull/10424 Reviewed-By: Julian Duque <julianduquej@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com>
This commit is contained in:
1 parent
7db7e47d7b
commit
8eeccd82d2
1 file changed
+5
-5
@@ -129,7 +129,7 @@ added: v0.1.90
|
||||
* `timeout` {Number} (Default: 0)
|
||||
* `maxBuffer` {Number} largest amount of data (in bytes) allowed on stdout or
|
||||
stderr - if exceeded child process is killed (Default: `200*1024`)
|
||||
* `killSignal` {String} (Default: 'SIGTERM')
|
||||
* `killSignal` {String|Integer} (Default: 'SIGTERM')
|
||||
* `uid` {Number} Sets the user identity of the process. (See setuid(2).)
|
||||
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
|
||||
* `callback` {Function} called with the output when process terminates
|
||||
@@ -210,7 +210,7 @@ added: v0.1.91
|
||||
* `timeout` {Number} (Default: 0)
|
||||
* `maxBuffer` {Number} largest amount of data (in bytes) allowed on stdout or
|
||||
stderr - if exceeded child process is killed (Default: 200\*1024)
|
||||
* `killSignal` {String} (Default: 'SIGTERM')
|
||||
* `killSignal` {String|Integer} (Default: 'SIGTERM')
|
||||
* `uid` {Number} Sets the user identity of the process. (See setuid(2).)
|
||||
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
|
||||
* `callback` {Function} called with the output when process terminates
|
||||
@@ -571,7 +571,7 @@ added: v0.11.12
|
||||
* `uid` {Number} Sets the user identity of the process. (See setuid(2).)
|
||||
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
|
||||
* `timeout` {Number} In milliseconds the maximum amount of time the process is allowed to run. (Default: undefined)
|
||||
* `killSignal` {String} The signal value to be used when the spawned process will be killed. (Default: 'SIGTERM')
|
||||
* `killSignal` {String|Integer} The signal value to be used when the spawned process will be killed. (Default: 'SIGTERM')
|
||||
* `maxBuffer` {Number} largest amount of data (in bytes) allowed on stdout or
|
||||
stderr - if exceeded child process is killed
|
||||
* `encoding` {String} The encoding used for all stdio inputs and outputs. (Default: 'buffer')
|
||||
@@ -610,7 +610,7 @@ added: v0.11.12
|
||||
* `uid` {Number} Sets the user identity of the process. (See setuid(2).)
|
||||
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
|
||||
* `timeout` {Number} In milliseconds the maximum amount of time the process is allowed to run. (Default: undefined)
|
||||
* `killSignal` {String} The signal value to be used when the spawned process will be killed. (Default: 'SIGTERM')
|
||||
* `killSignal` {String|Integer} The signal value to be used when the spawned process will be killed. (Default: 'SIGTERM')
|
||||
* `maxBuffer` {Number} largest amount of data (in bytes) allowed on stdout or
|
||||
stderr - if exceeded child process is killed
|
||||
* `encoding` {String} The encoding used for all stdio inputs and outputs. (Default: 'buffer')
|
||||
@@ -648,7 +648,7 @@ added: v0.11.12
|
||||
* `uid` {Number} Sets the user identity of the process. (See setuid(2).)
|
||||
* `gid` {Number} Sets the group identity of the process. (See setgid(2).)
|
||||
* `timeout` {Number} In milliseconds the maximum amount of time the process is allowed to run. (Default: undefined)
|
||||
* `killSignal` {String} The signal value to be used when the spawned process will be killed. (Default: 'SIGTERM')
|
||||
* `killSignal` {String|Integer} The signal value to be used when the spawned process will be killed. (Default: 'SIGTERM')
|
||||
* `maxBuffer` {Number} largest amount of data (in bytes) allowed on stdout or
|
||||
stderr - if exceeded child process is killed
|
||||
* `encoding` {String} The encoding used for all stdio inputs and outputs. (Default: 'buffer')
|
||||
|
||||
Reference in new issue
Block a user