fix: the burp subprocess was not restarted

This commit is contained in:
ziirish 2015-05-08 21:59:15 +02:00
parent cce253dab4
commit 5b27ee6ef0

View file

@ -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