Skip to content

Built-it command-line arguments? #9002

Answered by bwoodsend
morags asked this question in Help
Discussion options

You must be logged in to vote

I'd definitely prefer people to either make their own wrapper or just put something like:

sys.argv = sys.argv[:2] + ["builtin", "options"] + sys.argv[2:]

near the top of their code.

I doubt building it into PyInstaller would get far before people start requesting ~ and environment variable expansions, platform abstractions, templating variables (e.g. current working directory or app location) and some secret override to get back to the raw original CLI mode. At least if you do it, that's all your problem. 🙂

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by morags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants