Merge pull request #310 from KortanZ/master

fix typo
This commit is contained in:
GNU 2019-12-04 23:55:39 +08:00 committed by GitHub
commit ebe816ba5f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -358,7 +358,7 @@ def event_process(event,main_screen):
release_self_fds()
os.execlp("/bin/sh","/bin/sh","-c", exec_app_cmd)
os.chdir( GetExePath())
os.exelp("python","python"," "+myscriptname)
os.execlp("python","python"," "+myscriptname)
sys.exit(-1)
return
@ -384,7 +384,7 @@ def event_process(event,main_screen):
release_self_fds()
os.execlp("/bin/sh","/bin/sh","-c", exec_app_cmd)
os.chdir( GetExePath())
os.exelp("python","python"," "+myscriptname)
os.execlp("python","python"," "+myscriptname)
return
if event.type == RESTARTUI:
pygame.quit()
@ -395,7 +395,7 @@ def event_process(event,main_screen):
release_self_fds()
os.execlp("/bin/sh","/bin/sh","-c", exec_app_cmd)
os.chdir( GetExePath())
os.exelp("python","python"," "+myscriptname)
os.execlp("python","python"," "+myscriptname)
return
if event.type == RUNSH:
pygame.quit()