child_process: support numeric signal argument to kill.
Checklist
-
make -j8 test
(UNIX), orvcbuild test nosign
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines
Affected core subsystem(s)
child_process
Description of change
Modifies the kill function to support numeric signals. I used a type check instead of Number.isInteger
because that was the pattern used elsewhere in the code base.
Addresses: https://github.com/nodejs/node/issues/9519