mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-13 02:08:50 +01:00
RUNEVT,RUNSYS bug fix
This commit is contained in:
parent
dd6aa87ee6
commit
8e943d2751
@ -343,7 +343,8 @@ def event_process(event,main_screen):
|
||||
pygame.quit()
|
||||
gobject_main_loop.quit()
|
||||
os.chdir( GetExePath())
|
||||
exec_app_cmd = "cd "+os.path.dirname(event.message.split(" ")[0])+";"
|
||||
|
||||
exec_app_cmd = "cd "+os.path.dirname(event.message.strip().split(" ")[0])+";"
|
||||
exec_app_cmd += event.message
|
||||
exec_app_cmd += "; sync & cd "+GetExePath()+"; exec python "+myscriptname
|
||||
print(exec_app_cmd)
|
||||
@ -362,7 +363,7 @@ def event_process(event,main_screen):
|
||||
pygame.quit()
|
||||
gobject_main_loop.quit()
|
||||
os.chdir( GetExePath())
|
||||
exec_app_cmd = "cd "+os.path.dirname(event.message.split(" ")[0])+";"
|
||||
exec_app_cmd = "cd "+os.path.dirname(event.message.strip().split(" ")[0])+";"
|
||||
exec_app_cmd += event.message
|
||||
exec_app_cmd += "; sync & cd "+GetExePath()+"; exec python "+myscriptname
|
||||
print(exec_app_cmd)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user