help wanted
倉庫指標
- Star
- (5,980 star)
- PR 合併指標
- (30 天內沒有已合併 PR)
描述
Describe the problem Is there a way to get the PID of the chrome tab/process that eel opens? We're making a crossplatform app, and we'd like to be able to manage focus/know what's running via PID. Maybe if python can't get it, maybe there's a way for javascript to get it? Thanks
Code snippet(s)
import eel
eel.start(HTMLFILE, size=(800, 600), port=PORT,
cmdline_args=['--auto-open-devtools-for-tabs'])
# possible?
# chrome_pid = eel.getChromePID()
Desktop (please complete the following information):
- OS: Windows, Mac, (and Linux)
- Browser Chrome / Chromium