python-eel/Eel

Just Notice with 20.04, not Closing the Python Script

Open

#318 aberto em 17 de jun. de 2020

Ver no GitHub
 (6 comments) (0 reactions) (0 assignees)Python (570 forks)batch import
help wanted

Métricas do repositório

Stars
 (5.980 stars)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

try: eel.start('index.html',mode='default', block=False, port=0) except (SystemExit, MemoryError, KeyboardInterrupt): os.system('taskkill /F /IM game.exe /T')

That's what I'm using to see about closing the localhost when I close the type. This used to work when I was still on 18.04. I don't know if it's actually due to the change and with the different Python version available between the two or if how I had it, it was just one of those hacks that worked for awhile, but it was bound to stop working at some point.

Thoughts? Suggestions?

Guia do colaborador