(context, pid)
| 695 | |
| 696 | |
| 697 | def 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 | |
| 707 | def RunProcess(context, timeout, args, **rest): |
no test coverage detected
searching dependent graphs…