From 8912436c688188879abe74a87d582ea7a72053ba Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Tue, 29 Jan 2013 16:30:59 +0000 Subject: [PATCH] tentative fix for stall --- extra/shutils/regressiontest.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/extra/shutils/regressiontest.py b/extra/shutils/regressiontest.py index 77f98d399..2b4f51750 100644 --- a/extra/shutils/regressiontest.py +++ b/extra/shutils/regressiontest.py @@ -66,9 +66,10 @@ def main(): test_counts = [] attachments = {} - command_line = "python /opt/sqlmap/sqlmap.py --update ; python /opt/sqlmap/sqlmap.py --live-test" - proc = subprocess.Popen(command_line, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + proc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --update", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) + proc.wait() + proc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --live-test", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE) proc.wait() stdout, stderr = proc.communicate()