running .exe file compiled by Pyinstaller cannot suppress the tshark console window
In my Python project, there is a main.py which is the entrance of the application and uses Tkinter to design UI. There are some other .py files which will be called and run from main.py. One of the .py files is process_pcap.py which imports Pyshark API to call tshark to process a .pcap log. For convenience to distribute the application, I use Pyinstaller to convert the main.py to main.exe.