[game-data-packager] 13/14: launcher: be willing to search $PATH for engine

Simon McVittie smcv at debian.org
Fri Oct 14 00:09:50 UTC 2016


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to branch master
in repository game-data-packager.

commit a2c3bf0491343f1dd66a9e716bce2083e8c82acd
Author: Simon McVittie <smcv at debian.org>
Date:   Wed Oct 12 11:35:31 2016 +0100

    launcher: be willing to search $PATH for engine
---
 runtime/launcher.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runtime/launcher.py b/runtime/launcher.py
index eb76ade..267ed0a 100755
--- a/runtime/launcher.py
+++ b/runtime/launcher.py
@@ -595,7 +595,7 @@ class Launcher:
         logger.debug('Executing: %r', self.argv + self.args.arguments)
         self.flush()
 
-        os.execve(self.argv[0], self.argv + self.args.arguments, environ)
+        os.execvpe(self.argv[0], self.argv + self.args.arguments, environ)
 
         raise AssertionError('os.execve should never return')
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git



More information about the Pkg-games-commits mailing list