From 3f67ce515f2b1bc59745156ecfbd34ec48c867d9 Mon Sep 17 00:00:00 2001 From: loathingKernel <142770+loathingKernel@users.noreply.github.com> Date: Sun, 19 May 2024 20:50:01 +0300 Subject: [PATCH] RareLauncher: Print debug when running pre-launch command --- rare/commands/launcher/__init__.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rare/commands/launcher/__init__.py b/rare/commands/launcher/__init__.py index f3669e2b..be2e50ae 100644 --- a/rare/commands/launcher/__init__.py +++ b/rare/commands/launcher/__init__.py @@ -78,9 +78,10 @@ class PreLaunch(QRunnable): proc.setProcessEnvironment(launch_args.environment) self.signals.pre_launch_command_started.emit() pre_launch_command = shlex.split(launch_args.pre_launch_command) - # self.logger.debug("Executing prelaunch command %s, %s", pre_launch_command[0], pre_launch_command[1:]) + self.logger.debug("Running pre-launch command %s, %s", pre_launch_command[0], pre_launch_command[1:]) if launch_args.pre_launch_wait: proc.start(pre_launch_command[0], pre_launch_command[1:]) + self.logger.debug("Waiting for pre-launch command to finish") proc.waitForFinished(-1) else: proc.startDetached(pre_launch_command[0], pre_launch_command[1:])