mirror of
https://github.com/jketterl/openwebrx.git
synced 2026-04-04 14:08:38 +00:00
add preliminary parsing and display of M17 metadata
This commit is contained in:
parent
81b8f183c2
commit
40c68933e1
6 changed files with 117 additions and 8 deletions
|
|
@ -118,8 +118,11 @@ class PopenModule(AutoStartModule, metaclass=ABCMeta):
|
|||
def getCommand(self):
|
||||
pass
|
||||
|
||||
def _getProcess(self):
|
||||
return Popen(self.getCommand(), stdin=PIPE, stdout=PIPE)
|
||||
|
||||
def start(self):
|
||||
self.process = Popen(self.getCommand(), stdin=PIPE, stdout=PIPE)
|
||||
self.process = self._getProcess()
|
||||
# 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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue