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