another attempt to fix the stall during regression test

This commit is contained in:
Bernardo Damele
2013-02-09 12:16:56 +00:00
parent 138a846cf1
commit e48181e28d
2 changed files with 8 additions and 10 deletions

View File

@@ -77,7 +77,7 @@ def main():
if stderr:
failure_email("Update of sqlmap failed with error:\n\n%s" % stderr)
regressionproc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --live-test", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
regressionproc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --live-test", shell=True, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=False)
stdout, stderr = regressionproc.communicate()
if stderr: