From 791d69b6320386062162533b29e4035166f23157 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mathis=20Dr=C3=B6ge?= Date: Thu, 2 Jun 2022 16:08:24 +0200 Subject: [PATCH] Switch to using Popen --- legendary/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/legendary/cli.py b/legendary/cli.py index 05e360a..4cfcedf 100644 --- a/legendary/cli.py +++ b/legendary/cli.py @@ -2896,7 +2896,7 @@ def main(): print(f'\nCommand: {choice}') print(subparser.format_help()) elif os.name == 'nt' and double_clicked(): - subprocess.run(['cmd', '/K', 'echo>nul']) + subprocess.Popen(['cmd', '/K', 'echo>nul']) return cli = LegendaryCLI(override_config=args.config_file, api_timeout=args.api_timeout)