From 5b27ee6ef098a6bfde7012a22eb290fb9f3834bf Mon Sep 17 00:00:00 2001 From: ziirish Date: Fri, 8 May 2015 21:59:15 +0200 Subject: [PATCH] fix: the burp subprocess was not restarted --- burpui/misc/backend/burp2.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/burpui/misc/backend/burp2.py b/burpui/misc/backend/burp2.py index 0321a778..6ee372ab 100644 --- a/burpui/misc/backend/burp2.py +++ b/burpui/misc/backend/burp2.py @@ -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