Fix an issue with stderr debugging of subprocesses

This commit is contained in:
Dave Halter
2018-08-03 23:51:58 +02:00
parent 1c76359291
commit fd8f254ce1

View File

@@ -244,6 +244,7 @@ class CompiledSubprocess(object):
# stderr contents.
try:
line = self._stderr_queue.get_nowait()
line = line.decode('utf-8', 'replace')
debug.warning('stderr output: %s' % line.rstrip('\n'))
except Empty:
break