Fixed Linux Restart Command
This commit is contained in:
parent
c574b4cd14
commit
cef938b10d
@ -25,7 +25,7 @@ def restart_self():
|
||||
os.system('start cmd /k python main.py')
|
||||
hard_shutdown()
|
||||
if platform.system() == 'Linux':
|
||||
os.system('python main.py')
|
||||
os.system('xfce4-terminal -e "python main.py"')
|
||||
hard_shutdown()
|
||||
|
||||
#os.system('python twitch_script.py')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user