Skip to content

Commit 9dcef49

Browse files
committed
Need to poll() to make sure we get the return code
Signed-off-by: Stefan Marr <git@stefan-marr.de>
1 parent 96d516b commit 9dcef49

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

rebench/subprocess_with_timeout.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ def process_output(self, proc):
106106
reads.append(proc.stderr.fileno())
107107

108108
if not reads:
109+
proc.poll()
109110
break
110111

111112
ret = select(reads, [], [], 0.1)

0 commit comments

Comments
 (0)