Fix Linux.play() using relative path for the executable

This commit is contained in:
Xodetaetl 2014-08-12 18:47:17 +02:00 committed by Mathieu Comandon
parent df4022b2e8
commit 90c8dbe0bb

View file

@ -88,7 +88,7 @@ class linux(Runner):
launch_info['ld_library_path'] = ld_library_path
command = []
command.append("./%s" % os.path.basename(executable))
command.append('"%s"' % self.game_exe)
args = game_config.get('args', "")
for arg in args.split():