From 4042f742090dc4f37402d45019535122ad80cb01 Mon Sep 17 00:00:00 2001 From: Valentin Wuestholz Date: Mon, 29 Apr 2024 09:23:17 +0200 Subject: [PATCH] Fix an import. --- run-campaigns.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/run-campaigns.py b/run-campaigns.py index ec54b7a..01a94c8 100644 --- a/run-campaigns.py +++ b/run-campaigns.py @@ -1,6 +1,6 @@ from argparse import ArgumentParser from json import dumps, loads -import subprocess +from subprocess import Popen, TimeoutExpired import re import time import tempfile @@ -198,7 +198,7 @@ def process_all_tasks(tasks): in_file.write(fuzzer_input) in_file.flush() in_file.seek(0) - proc = subprocess.Popen( + proc = Popen( exe, stdin=in_file, stdout=out_file, @@ -211,7 +211,7 @@ def process_all_tasks(tasks): or fuzzer_name == "hybrid-echidna" or fuzzer_name == "ityfuzz" ): - proc = subprocess.Popen( + proc = Popen( " ".join(exe), stdout=out_file, stderr=out_file,