Open user202729 opened 3 years ago
Since the hang is caused by importing the modules, I'm not sure if anything can be done on the pystray side except only importing them when they're really required.
However, it still won't allow the parent process and the subprocess to both have a tray icon.
Code:
Backend:
PYSTRAY_BACKEND=appindicator
Issue: the icon is not displayed. However if the first
import pystray
line is commented out, the icon will be displayed.importlib.reload
doesn't fix the issue.Version: latest git. Python version: 3.9.
Example run: