Kortan 4 years ago
parent
commit
f605b4bf91
1 changed files with 3 additions and 3 deletions
  1. 3 3
      sys.py/run.py

+ 3 - 3
sys.py/run.py

@@ -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()