mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-26 04:05:49 +03:00
[GH-ISSUE #308] Arguments are not being read by output EXE #268
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @PoshoDev on GitHub (Sep 7, 2022).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/308
Originally assigned to: @PoshoDev on GitHub.
Hello there, big fan of this tool. It has made my life much simpler. 🙂
The Python script I want to convert uses
sys.argvfor command line arguments, they are being read when I dopython myscript.py foobut not when I do./myscript.exe foousing the output EXE file. It does work when I use the--consoleflag though, but since my script is meant to run in the background when run without arguments or double-clicked from Explorer, it is not optimal.Is there any workaround for this?
@brentvollebregt commented on GitHub (Sep 8, 2022):
I just ran this script and it worked fine:
To use this
python demo.py my args are here, you should see the args appear in the latest request on the sitedemo.exe are my args here, you should see the args appear in the same way@github-actions[bot] commented on GitHub (Nov 1, 2022):
This issue is stale because it has been open for 60 days with no activity. Remove stale label or comment on this issue or it will be closed in 5 days.
@github-actions[bot] commented on GitHub (Nov 7, 2022):
Closing issue due to no activity in more than 60 days.