Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2010-10-23 22:36:30 +0400
committerRyan Dahl <ry@tinyclouds.org>2010-10-23 22:37:40 +0400
commit9bf2975f78ce097c82a720bdda82810c1188a8ef (patch)
treefb02a66647ac130f88774bdc70f62e213ef3a98a /doc
parentd9a5edb2b076063058a0631c5389b053f649dd1d (diff)
Make sure Error object on exec() gets killed member
Also default to SIGTERM for destruction when exceeding timeout or buffer on exec()
Diffstat (limited to 'doc')
-rw-r--r--doc/api.markdown4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api.markdown b/doc/api.markdown
index 32e9b0c6a1a..5f7f141933b 100644
--- a/doc/api.markdown
+++ b/doc/api.markdown
@@ -1068,14 +1068,14 @@ There is a second optional argument to specify several options. The default opti
{ encoding: 'utf8'
, timeout: 0
, maxBuffer: 200*1024
- , killSignal: 'SIGKILL'
+ , killSignal: 'SIGTERM'
, cwd: null
, env: null
}
If `timeout` is greater than 0, then it will kill the child process
if it runs longer than `timeout` milliseconds. The child process is killed with
-`killSignal` (default: `'SIGKILL'`). `maxBuffer` specifies the largest
+`killSignal` (default: `'SIGTERM'`). `maxBuffer` specifies the largest
amount of data allowed on stdout or stderr - if this value is exceeded then
the child process is killed.