summaryrefslogtreecommitdiff
path: root/doc/api/child_process.md
diff options
context:
space:
mode:
authorSakthipriyan Vairamani (thefourtheye) <thechargingvolcano@gmail.com>2016-12-23 16:23:28 +0530
committerMyles Borins <myles.borins@gmail.com>2017-02-21 17:00:50 -0500
commit78b83e7249f4c663fa5e681b864af2e2b5ca5394 (patch)
tree9aeb7e5d649fa12c2768f20c80b7e25acb034961 /doc/api/child_process.md
parent8f00f70d19081281098c056ed850acff16e4f8a8 (diff)
downloadnode-new-78b83e7249f4c663fa5e681b864af2e2b5ca5394.tar.gz
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>
Diffstat (limited to 'doc/api/child_process.md')
-rw-r--r--doc/api/child_process.md16
1 files changed, 8 insertions, 8 deletions
diff --git a/doc/api/child_process.md b/doc/api/child_process.md
index e83c5be6e1..0550cd0abf 100644
--- a/doc/api/child_process.md
+++ b/doc/api/child_process.md
@@ -137,7 +137,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
@@ -214,7 +214,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
@@ -591,8 +591,8 @@ added: v0.11.12
* `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'`)
@@ -633,8 +633,8 @@ added: v0.11.12
* `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.
@@ -675,8 +675,8 @@ added: v0.11.12
* `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.