1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2025-02-17 11:55:35 +02:00
STARK/main.py

15 lines
324 B
Python
Raw Normal View History

import os
2020-11-05 20:28:18 +02:00
import config
modules = {
'Voice Assistant': 'voice_assistant',
'Telegram bot': 'telegram_bot',
}
for name, module in modules.items():
try:
print(f'launching the {name}')
2020-11-05 20:28:18 +02:00
os.system(f'nohup {config.path}/{module}.py &')
except:
print(f'[error]\t{name} launch failed')