This commit is contained in:
hawkeye116477 2024-10-23 13:08:53 +02:00 committed by GitHub
commit acf87d2abd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -714,7 +714,7 @@ class LegendaryCLI:
if params.environment: if params.environment:
logger.debug('Environment overrides: {}'.format(', '.join( logger.debug('Environment overrides: {}'.format(', '.join(
f'{k}={v}' for k, v in params.environment.items()))) 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): def _launch_origin(self, args):
game = self.core.get_game(app_name=args.app_name) game = self.core.get_game(app_name=args.app_name)