Switch to using Popen

This commit is contained in:
Mathis Dröge 2022-06-02 16:08:24 +02:00
parent 496bae1fe4
commit 791d69b632
No known key found for this signature in database
GPG key ID: 3071D4EFBB298F5F

View file

@ -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)