When I make a text-only console app with PyInstaller, double-clicking the binary on macOS runs the contents of ~/.zshrc so the output looks cluttered. Is there some way to avoid this so it starts with a blank console window?
I know I could use os.system('clear') at the top but there is a slight delay so you can see the text appear for a moment and then clear.
If there is, it’s via some OS configuration - not PyInstaller. It’s not normal for shell RC files to print anything. Would it be enough to edit your ~/.zshrc, find the noisy line and either remove it or append > /dev/null to it to silence it (may also require redirecting stderr to null too)?