1
0
mirror of https://gitee.com/sui-feng-cb/AzurLaneAutoScript1 synced 2026-03-12 13:17:00 +08:00

Opt: pass fpy pid to halt cmd

This commit is contained in:
hgjazhgj
2023-05-27 23:30:21 +08:00
parent 334f6ef20c
commit 892b73f0bc

View File

@@ -41,7 +41,7 @@ def orphanSlayer(ppid, spid, kill = ""):
return
time.sleep(1)
if kill:
os.system(kill)
os.system(f"{kill} {spid}")
else:
os.kill(spid, 9)