Added logging info to game launch

This commit is contained in:
GeoffreyCoulaud
2023-06-05 01:57:25 +02:00
parent cf9d4059b3
commit 43d4a50bf7

View File

@@ -18,6 +18,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
import json import json
import logging
import os import os
import shlex import shlex
import subprocess import subprocess
@@ -185,6 +186,7 @@ class Game(Gtk.Box):
else string # Others else string # Others
) )
logging.info("Starting %s: %s", self.name, str(args))
subprocess.Popen( subprocess.Popen(
args, args,
cwd=Path.home(), cwd=Path.home(),