python-eel/Eel

Main application closes when eel web page is refreshed

Open

#581 geöffnet am 2. Apr. 2022

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Python (5.980 Stars) (570 Forks)batch import
help wanted

Beschreibung

Main application is supported by flask. EEL Thread is started and web page pop-ups.Everything goes fine until user refresh eel web page. In this moment, main application stops.

import a import b import flask

def gui(): eel.start('index.html', size=(454, 440), port=8000, close_callback=close_callback, cmdline_args=['--disable-translate'])

eel.init('web')

#Flask app started ... app. run()

Thread(target=gui, daemon=True).start()

Desktop (please complete the following information):

  • OS: Windows 10
  • Browser : Chrome
  • Version : N/A

Contributor Guide