Skip to content

Commit

Permalink
Adding UI URL message (#169)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeStarch authored Mar 28, 2024
1 parent 39ea36b commit 64e273f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/fprime_gds/executables/run_deployment.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit 64e273f

Please sign in to comment.