1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-04-05 13:10:59 +08:00

Fix: no detection of spid exist in OrphanSlayer

This commit is contained in:
hgjazhgj
2023-05-28 02:04:55 +08:00
parent 427b27c52d
commit 102ce3c71e

View File

@@ -37,8 +37,6 @@ def orphanSlayer(ppid, spid, kill = ""):
Lme曰「你可以通过经常拉屎来结交朋友 Lme曰「你可以通过经常拉屎来结交朋友
""" """
while isProcessExist(ppid): while isProcessExist(ppid):
if not isProcessExist(spid):
return
time.sleep(1) time.sleep(1)
if kill: if kill:
os.system(f"{kill} {spid}") os.system(f"{kill} {spid}")