Complete refactor
This commit is contained in:
@@ -110,7 +110,7 @@ except ModuleNotFoundError:
|
||||
|
||||
def killProc(pid):
|
||||
if osname == "posix":
|
||||
from signal import SIGKILL # type: ignore
|
||||
from signal import SIGKILL
|
||||
kill(pid, SIGKILL)
|
||||
else:
|
||||
p = Process(pid)
|
||||
|
Reference in New Issue
Block a user