mirror of
https://github.com/derrod/legendary.git
synced 2024-06-29 19:50:52 +12:00
Switch to using Popen
This commit is contained in:
parent
496bae1fe4
commit
791d69b632
|
@ -2896,7 +2896,7 @@ def main():
|
||||||
print(f'\nCommand: {choice}')
|
print(f'\nCommand: {choice}')
|
||||||
print(subparser.format_help())
|
print(subparser.format_help())
|
||||||
elif os.name == 'nt' and double_clicked():
|
elif os.name == 'nt' and double_clicked():
|
||||||
subprocess.run(['cmd', '/K', 'echo>nul'])
|
subprocess.Popen(['cmd', '/K', 'echo>nul'])
|
||||||
return
|
return
|
||||||
|
|
||||||
cli = LegendaryCLI(override_config=args.config_file, api_timeout=args.api_timeout)
|
cli = LegendaryCLI(override_config=args.config_file, api_timeout=args.api_timeout)
|
||||||
|
|
Loading…
Reference in a new issue