Skip to content

Windows executable developed with wix: Closing the web browser does not terminate the streamlit process #151

@Arslan-Siraj

Description

@Arslan-Siraj
  • In Streamlit, closing the browser tab does not automatically terminate the Streamlit process running in the background.
  • The server continues running until it is manually stopped (e.g., via Ctrl+C).
  • This issue aims to explore the possibility of terminating the process when all tabs are closed. This might be achievable using Streamlit's runtime with script_run_context.
  • On Windows, the web app is launched via a desktop shortcut, which triggers a .bat file to start the application. Ideally, the app should also close automatically when all tabs are closed so that users can relaunch it from the desktop shortcut as expected.
  • How was the app packaged with WiX? This is for testing: https://github.com/OpenMS/streamlit-template/blob/main/.github/workflows/test-win-exe-w-embed-py.yaml

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions