From dd2996c87cbb30e8ab70f48101b41232c74912ac Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Sun, 15 Jan 2023 15:35:42 -0500 Subject: [PATCH] update launcher --- launch.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/launch.py b/launch.py index 8d109544c..e6b6fca13 100644 --- a/launch.py +++ b/launch.py @@ -144,7 +144,10 @@ def run_extension_installer(extension_dir): env = os.environ.copy() env['PYTHONPATH'] = os.path.abspath(".") - print(run(f'"{python}" "{path_installer}"', errdesc=f"Error running install.py for extension {extension_dir}", custom_env=env)) + stdout = run(f'"{python}" "{path_installer}"', errdesc=f"Error running install.py for extension {extension_dir}", custom_env=env) + if stdout is not None: + print(stdout) + except Exception as e: print(e, file=sys.stderr) @@ -261,7 +264,7 @@ def prepare_environment(): if update_check: version_check(commit) - + if "--exit" in sys.argv: print("Exiting because of --exit argument") exit(0)