Fix stderr capture

This commit is contained in:
Bruno Renié
2014-08-28 21:33:57 +02:00
committed by Mark Roberts
parent 931cfb8025
commit 5806dfbde8

View File

@@ -58,7 +58,7 @@ class SpawnedService(threading.Thread):
if self.child.stderr in rds:
line = self.child.stderr.readline()
self.captured_stderr.append(line)
self.captured_stderr.append(line.decode('utf-8'))
if self.should_die.is_set():
self.child.terminate()