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

Function KillTimedOutProcess

tools/test.py:697–704  ·  view source on GitHub ↗
(context, pid)

Source from the content-addressed store, hash-verified

695
696
697def KillTimedOutProcess(context, pid):
698 signal_to_send = signal.SIGTERM
699 if context.abort_on_timeout:
700 # Using SIGABRT here allows the OS to generate a core dump that can be
701 # looked at post-mortem, which helps for investigating failures that are
702 # difficult to reproduce.
703 signal_to_send = signal.SIGABRT
704 KillProcessWithID(pid, signal_to_send)
705
706
707def RunProcess(context, timeout, args, **rest):

Callers 1

RunProcessFunction · 0.85

Calls 1

KillProcessWithIDFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…