mirror of
https://github.com/lutris/lutris
synced 2024-09-15 22:09:55 +00:00
Use shlex to split xboxdrv arguments (Fixes #1071)
This commit is contained in:
parent
f645944dec
commit
84af57d966
|
@ -411,7 +411,7 @@ class Game:
|
|||
command = [
|
||||
"pkexec", "xboxdrv", "--daemon", "--detach-kernel-driver",
|
||||
"--dbus", "session", "--silent"
|
||||
] + config.split()
|
||||
] + shlex.split(config)
|
||||
logger.debug("[xboxdrv] %s", ' '.join(command))
|
||||
self.xboxdrv_thread = LutrisThread(command, include_processes=['xboxdrv'])
|
||||
self.xboxdrv_thread.set_stop_command(self.xboxdrv_stop)
|
||||
|
|
Loading…
Reference in a new issue