tools/idf_monitor: add WebSocket client for IDE integration

This commit is contained in:
Roland Dobai
2020-05-28 14:47:38 +02:00
committed by bot
parent 5c783e60e1
commit e67314f646
9 changed files with 269 additions and 28 deletions

View File

@@ -24,7 +24,7 @@ class CustomProcess(object):
self.f = open(logfile, 'w')
if self.verbose:
Utility.console_log('Starting {} > {}'.format(cmd, self.f.name))
self.pexpect_proc = pexpect.spawn(cmd, timeout=60, logfile=self.f, encoding='utf-8')
self.pexpect_proc = pexpect.spawn(cmd, timeout=60, logfile=self.f, encoding='utf-8', codec_errors='ignore')
def __enter__(self):
return self