|
@ -230,11 +230,11 @@ A compiled-in property that exposes `NODE_PREFIX`. |
|
|
console.log('Prefix: ' + process.installPrefix); |
|
|
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 |
|
|
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 |
|
|
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. |
|
|
See kill(2) for more information. |
|
|
|
|
|
|
|
|
Note that just because the name of this function is `process.kill`, it is |
|
|
Note that just because the name of this function is `process.kill`, it is |
|
|