From 79979ed0bff05df4a59a405e8af99e101c15b709 Mon Sep 17 00:00:00 2001 From: hawkeye116477 Date: Wed, 23 Oct 2024 12:42:10 +0200 Subject: [PATCH] Display UAC prompt for games which requires admin rights --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index 9d8430d..7e44530 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -714,7 +714,7 @@ class LegendaryCLI: if params.environment: logger.debug('Environment overrides: {}'.format(', '.join( f'{k}={v}' for k, v in params.environment.items()))) - subprocess.Popen(full_params, cwd=params.working_directory, env=full_env) + subprocess.Popen(full_params, cwd=params.working_directory, env=full_env, shell=True) def _launch_origin(self, args): game = self.core.get_game(app_name=args.app_name)