mirror of
https://github.com/davidhalter/jedi.git
synced 2025-12-06 14:04:26 +08:00
Fix an issue with stderr debugging of subprocesses
This commit is contained in:
@@ -244,6 +244,7 @@ class CompiledSubprocess(object):
|
|||||||
# stderr contents.
|
# stderr contents.
|
||||||
try:
|
try:
|
||||||
line = self._stderr_queue.get_nowait()
|
line = self._stderr_queue.get_nowait()
|
||||||
|
line = line.decode('utf-8', 'replace')
|
||||||
debug.warning('stderr output: %s' % line.rstrip('\n'))
|
debug.warning('stderr output: %s' % line.rstrip('\n'))
|
||||||
except Empty:
|
except Empty:
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user