mirror of
https://github.com/clockworkpi/launcher.git
synced 2025-12-13 02:08:50 +01:00
Merge branch 'master' of https://github.com/clockworkpi/launcher
This commit is contained in:
commit
58877ba643
@ -355,7 +355,7 @@ def event_process(event,main_screen):
|
|||||||
release_self_fds()
|
release_self_fds()
|
||||||
os.execlp("/bin/sh","/bin/sh","-c", exec_app_cmd)
|
os.execlp("/bin/sh","/bin/sh","-c", exec_app_cmd)
|
||||||
os.chdir( GetExePath())
|
os.chdir( GetExePath())
|
||||||
os.exelp("python","python"," "+myscriptname)
|
os.execlp("python","python"," "+myscriptname)
|
||||||
sys.exit(-1)
|
sys.exit(-1)
|
||||||
return
|
return
|
||||||
|
|
||||||
@ -381,7 +381,7 @@ def event_process(event,main_screen):
|
|||||||
release_self_fds()
|
release_self_fds()
|
||||||
os.execlp("/bin/sh","/bin/sh","-c", exec_app_cmd)
|
os.execlp("/bin/sh","/bin/sh","-c", exec_app_cmd)
|
||||||
os.chdir( GetExePath())
|
os.chdir( GetExePath())
|
||||||
os.exelp("python","python"," "+myscriptname)
|
os.execlp("python","python"," "+myscriptname)
|
||||||
return
|
return
|
||||||
if event.type == RESTARTUI:
|
if event.type == RESTARTUI:
|
||||||
pygame.quit()
|
pygame.quit()
|
||||||
@ -392,7 +392,7 @@ def event_process(event,main_screen):
|
|||||||
release_self_fds()
|
release_self_fds()
|
||||||
os.execlp("/bin/sh","/bin/sh","-c", exec_app_cmd)
|
os.execlp("/bin/sh","/bin/sh","-c", exec_app_cmd)
|
||||||
os.chdir( GetExePath())
|
os.chdir( GetExePath())
|
||||||
os.exelp("python","python"," "+myscriptname)
|
os.execlp("python","python"," "+myscriptname)
|
||||||
return
|
return
|
||||||
if event.type == RUNSH:
|
if event.type == RUNSH:
|
||||||
pygame.quit()
|
pygame.quit()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user