mirror of
https://github.com/0O0o0oOoO00/Alas.git
synced 2026-05-14 08:49:24 +08:00
Opt: pass fpy pid to halt cmd
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user