Closed
Description
On versions 6 and 7 of Node.js
when I started a child process with const n = require('child_process').spawn
if I try,
n.kill(19)
, I get an error saying the signal is not recognized
but 19 is a valid signal
http://stackoverflow.com/questions/9951556/why-number-9-in-kill-9-command-in-unix
I would expect it to work
if I do n.kill('SIGSTOP')
, it seems to work.
Can we (not) use numbers/integers with n.kill()?