From 4ea6916974ba9a911ee521e4fd60adbc1e0e8f97 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 27 Jan 2011 14:37:43 -0800 Subject: [PATCH] Correct process.kill doc Thanks Kevin. Closes GH-518. --- doc/api/process.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/process.markdown b/doc/api/process.markdown index 3383d59a9f..9594d1a520 100644 --- a/doc/api/process.markdown +++ b/doc/api/process.markdown @@ -230,11 +230,11 @@ A compiled-in property that exposes `NODE_PREFIX`. console.log('Prefix: ' + process.installPrefix); -### process.kill(pid, signal='SIGINT') +### process.kill(pid, signal='SIGTERM') Send a signal to a process. `pid` is the process id and `signal` is the string describing the signal to send. Signal names are strings like -'SIGINT' or 'SIGUSR1'. If omitted, the signal will be 'SIGINT'. +'SIGINT' or 'SIGUSR1'. If omitted, the signal will be 'SIGTERM'. See kill(2) for more information. Note that just because the name of this function is `process.kill`, it is