check poll()
This commit is contained in:
parent
dbcb67bc1e
commit
4a63386bf8
@ -1433,7 +1433,7 @@ def main():
|
|||||||
|
|
||||||
while True:
|
while True:
|
||||||
buf = decoder.stdout.read(65424)
|
buf = decoder.stdout.read(65424)
|
||||||
if not buf:
|
if not buf and decoder.poll() is not None:
|
||||||
break
|
break
|
||||||
encoder.stdin.write(buf)
|
encoder.stdin.write(buf)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user