keep browser process alive
This commit is contained in:
parent
c5876b1a0d
commit
09bb67d904
2 changed files with 6 additions and 5 deletions
|
@ -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}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue