python-eel/Eel

--noconsole not working

Aberta

#654 aberto em 18 de dez. de 2022

 (9 comentários) (1 reação) (1 responsável)Python (570 forks)batch import
bughelp wanted

Métricas do repositório

Stars
 (5.980 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

Hello, I've built an app with eel and now I'm trying to make an executable from it. But if I try to disable the console it doesn't start and shows the following error:

error

I'm using this command: python -m eel app.py web --onefile --noconsole --splash splash.png

and from python I just runeel.start('index.html')

I tried to redirect sys.stderr and sys.stdout to a StringIO or a PIPE but still the error popup. I'm on windows and the app runs with Chrome.

Guia do colaborador