Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8912436

Browse files
committed
tentative fix for stall
1 parent 8f36f92 commit 8912436

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

extra/shutils/regressiontest.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,9 +66,10 @@ def main():
6666
test_counts = []
6767
attachments = {}
6868

69-
command_line = "python /opt/sqlmap/sqlmap.py --update ; python /opt/sqlmap/sqlmap.py --live-test"
70-
proc = subprocess.Popen(command_line, shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
69+
proc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --update", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
70+
proc.wait()
7171

72+
proc = subprocess.Popen("python /opt/sqlmap/sqlmap.py --live-test", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
7273
proc.wait()
7374
stdout, stderr = proc.communicate()
7475

0 commit comments

Comments
 (0)