I use pyinstaller to compile a python program for both Windows and Linux. I've recently extended my program to accept command line arguments to provide the same functionality as the GUI. However, it seems those command line arguments are ignored on Windows, even though they work just fine on Linux. To be clear, I'm talking about command line arguments being passed to the generated executable. I tested that the command line arguments work on Windows when I run my program directly with python, before I compile with PyInstaller. I'm using the same arguments (--onefile --windowed) on both Windows and Linux to create the .spec file.
Has anyone else experienced this behavior before? Does anybody have and idea why command line arguments would work for Linux and not for Windows? Thanks. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/pyinstaller. For more options, visit https://groups.google.com/groups/opt_out.
