Skip to content

Commit f731f24

Browse files
Capture and combine fuzzer stdout and stderr in one stream.
1 parent e109f12 commit f731f24

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

runner.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def run_spy(tid, tnum, spy, logfiles, verbose):
3838
] + logfiles
3939
if verbose >= 3:
4040
print(f"{prefix(tid, tnum)} Running {shlex.join(cmd)}", flush=True)
41-
proc = subprocess.run(cmd, capture_output=True)
41+
proc = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
4242
if proc.returncode == 0:
4343
return
4444
return proc
@@ -64,7 +64,7 @@ def run_fuzzer(
6464
if verbose >= 3:
6565
print(f"{prefix(tid, tnum)} Running {shlex.join(cmd)}", flush=True)
6666
try:
67-
proc = subprocess.run(cmd, capture_output=True)
67+
proc = subprocess.run(cmd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
6868
if proc.returncode == 0:
6969
spy_proc = None
7070
if spy:

0 commit comments

Comments
 (0)