MCPcopy Index your code
hub / github.com/nodejs/node / kill

Function kill

lib/child_process.js:439–453  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

437 }
438
439 function kill() {
440 if (child.stdout)
441 child.stdout.destroy();
442
443 if (child.stderr)
444 child.stderr.destroy();
445
446 killed = true;
447 try {
448 child.kill(options.killSignal);
449 } catch (e) {
450 ex = e;
451 exithandler();
452 }
453 }
454
455 if (options.timeout > 0) {
456 timeoutId = setTimeout(function delayedKill() {

Callers 1

execFileFunction · 0.70

Calls 3

exithandlerFunction · 0.85
killMethod · 0.80
destroyMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…