python-eel/Eel

--noconsole not working

开放

#654 创建于 2022年12月18日

 (9 条评论) (1 个反应) (1 位负责人)Python (570 个派生)batch import
bughelp wanted

仓库指标

星标
 (5,980 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

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.

贡献者指南