Skip to content

Commit 2274b12

Browse files
committed
Fix an import.
1 parent 617dad8 commit 2274b12

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

run-campaigns.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from argparse import ArgumentParser
22
from json import dumps, loads
3-
import subprocess
3+
from subprocess import Popen, TimeoutExpired
44
import re
55
import time
66
import tempfile
@@ -198,7 +198,7 @@ def process_all_tasks(tasks):
198198
in_file.write(fuzzer_input)
199199
in_file.flush()
200200
in_file.seek(0)
201-
proc = subprocess.Popen(
201+
proc = Popen(
202202
exe,
203203
stdin=in_file,
204204
stdout=out_file,
@@ -211,7 +211,7 @@ def process_all_tasks(tasks):
211211
or fuzzer_name == "hybrid-echidna"
212212
or fuzzer_name == "ityfuzz"
213213
):
214-
proc = subprocess.Popen(
214+
proc = Popen(
215215
" ".join(exe),
216216
stdout=out_file,
217217
stderr=out_file,

0 commit comments

Comments
 (0)