From 64e273f91ead19f95e8346514680bda6f11e6a88 Mon Sep 17 00:00:00 2001 From: M Starch Date: Thu, 28 Mar 2024 09:44:12 -0700 Subject: [PATCH] Adding UI URL message (#169) --- src/fprime_gds/executables/run_deployment.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/fprime_gds/executables/run_deployment.py b/src/fprime_gds/executables/run_deployment.py index 70e1f33d..a922572a 100644 --- a/src/fprime_gds/executables/run_deployment.py +++ b/src/fprime_gds/executables/run_deployment.py @@ -119,8 +119,10 @@ def launch_html(parsed_args): str(parsed_args.gui_port), ] ret = launch_process(gse_args, name="HTML GUI", env=flask_env, launch_time=2) + ui_url = f"http://{str(parsed_args.gui_addr)}:{str(parsed_args.gui_port)}/" + print(f"[INFO] Launched UI at: {ui_url}") webbrowser.open( - f"http://{str(parsed_args.gui_addr)}:{str(parsed_args.gui_port)}/", + ui_url, new=0, autoraise=True, )