« Previous | Next » 

Revision 832ec1cd

ID832ec1cd507ed344badd2ed97d3da92975650a95
Parent 9a63a1d8
Child e1fb1b58

Added by Sam Roberts almost 10 years ago

process: throw TypeError if kill pid not a number

Currently, invalid usage such as:

process.kill('SIGTERM')
process.kill(null)
process.kill(undefined);

all coerce the pid to 0, and signal the current process.

Signed-off-by: Fedor Indutny <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences