mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Command should be a list
This commit is contained in:
parent
e3d2c9a21e
commit
27537d97ac
|
@ -47,7 +47,7 @@ def execute(command, env=None, cwd=None, log_errors=False, quiet=False):
|
|||
if not command:
|
||||
logger.error("No executable provided!")
|
||||
return
|
||||
if os.path.isabs(command) and not path_exists(command):
|
||||
if os.path.isabs(command[0]) and not path_exists(command[0]):
|
||||
logger.error("No executable found in %s" % command)
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in a new issue