mirror of
https://github.com/ziirish/burp-ui.git
synced 2026-05-21 06:45:24 -06:00
fix: the burp subprocess was not restarted
This commit is contained in:
parent
cce253dab4
commit
5b27ee6ef0
1 changed files with 3 additions and 1 deletions
|
|
@ -143,7 +143,9 @@ class Burp(Burp1):
|
|||
def _proc_is_alive(self):
|
||||
if self.proc:
|
||||
try:
|
||||
os.kill(self.proc.pid, 0)
|
||||
r = self.proc.poll()
|
||||
if r is not None:
|
||||
return False
|
||||
return True
|
||||
except:
|
||||
return False
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue