Allows restarting app
This commit is contained in:
parent
69a231bd69
commit
a11294d4f2
3
main.py
3
main.py
@ -67,9 +67,10 @@ class AppRunner(threading.Thread):
|
||||
with self.lock:
|
||||
if self.app == None or self.app.poll() != None:
|
||||
self.requestedApp = 0
|
||||
if self.currentApp != self.requestedApp:
|
||||
if self.requestedApp != None:
|
||||
self.currentApp = self.requestedApp
|
||||
self.updateApp()
|
||||
self.requestedApp = None
|
||||
d = self.app.stdout
|
||||
oshandle = d.fileno()
|
||||
data = os.read(oshandle, config.ScreenX*config.ScreenY*3)
|
||||
|
Loading…
Reference in New Issue
Block a user