Avoid starting apps async

This commit is contained in:
Aaron Dewes 2021-11-12 20:51:32 +01:00
parent 072a3399a2
commit c88ec5d02e

View File

@ -121,10 +121,11 @@ def startInstalled():
for app in userData["installedApps"]:
print("Starting app {}...".format(app))
# Run compose(args.app, "up --detach") asynchrounously for all apps, then exit(0) when all are finished
thread = threading.Thread(target=compose, args=(app, "up --detach"))
thread.start()
threads.append(thread)
joinThreads(threads)
#thread = threading.Thread(target=compose, args=(app, "up --detach"))
#thread.start()
#threads.append(thread)
compose(app, "up --detach")
#joinThreads(threads)
def stopInstalled():