diff --git a/lib/core/subprocessng.py b/lib/core/subprocessng.py index f2685ddfd..8483b0a73 100644 --- a/lib/core/subprocessng.py +++ b/lib/core/subprocessng.py @@ -197,4 +197,6 @@ def send_all(p, data): while len(data): sent = p.send(data) + if not isinstance(sent, int): + break data = buffer(data, sent)