equal
deleted
inserted
replaced
1 # This python code can be imported into tests in order to terminate a process |
1 # This python code can be imported into tests in order to terminate a process |
2 # with signal.SIGKILL on posix, or a roughly equivalent procedure on Windows. |
2 # with signal.SIGKILL on posix, or a roughly equivalent procedure on Windows. |
|
3 |
|
4 from __future__ import annotations |
|
5 |
3 import os |
6 import os |
4 import signal |
7 import signal |
5 import subprocess |
8 import subprocess |
6 import sys |
9 import sys |
7 import tempfile |
10 import tempfile |