keep browser process alive

This commit is contained in:
caryoscelus 2022-09-08 12:06:48 +00:00
parent c5876b1a0d
commit 09bb67d904
2 changed files with 6 additions and 5 deletions

View file

@ -362,6 +362,6 @@ def openBrowser(agent):
url = f'http://{ui_ip}:{config.ui_port}/{config.homepage}'
try:
import subprocess
subprocess.Popen([config.open_browser, url])
return subprocess.Popen([config.open_browser, url])
except Exception as err:
print(f"Error starting browser: {err}")