add MSK144 parsing

This commit is contained in:
Jakob Ketterl
2023-02-14 18:36:17 +01:00
parent 525b70d495
commit afcd8277d1
4 changed files with 69 additions and 4 deletions

View File

@@ -126,7 +126,7 @@ class PopenModule(AutoStartModule, metaclass=ABCMeta):
# resume in case the reader has been stop()ed before
self.reader.resume()
Thread(target=self.pump(self.reader.read, self.process.stdin.write)).start()
Thread(target=self.pump(partial(self.process.stdout.read, 1024), self.writer.write)).start()
Thread(target=self.pump(partial(self.process.stdout.read1, 1024), self.writer.write)).start()
def stop(self):
if self.process is not None: