1
0
mirror of https://github.com/MarkParker5/STARK.git synced 2025-11-23 21:34:45 +02:00

prepare for startup

This commit is contained in:
MarkParker5
2020-11-05 20:28:18 +02:00
parent 5bb93bbbe1
commit fcb9337677
3 changed files with 4 additions and 1 deletions

View File

@@ -1,4 +1,5 @@
import os
import config
modules = {
'Voice Assistant': 'voice_assistant',
@@ -8,6 +9,6 @@ modules = {
for name, module in modules.items():
try:
print(f'launching the {name}')
os.system(f'start python {module}.py')
os.system(f'nohup {config.path}/{module}.py &')
except:
print(f'[error]\t{name} launch failed')

View File

@@ -1,3 +1,4 @@
#!/usr/local/bin/python3.8
from Command import Command
import SpeechRecognition
import Text2Speech

View File

@@ -1,3 +1,4 @@
#!/usr/local/bin/python3.8
import SpeechRecognition
import Text2Speech
from Command import Command