mirror of
https://github.com/brentvollebregt/auto-py-to-exe.git
synced 2026-04-25 19:55:49 +03:00
[GH-ISSUE #489] how can we change the running command ? #382
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 @xalteropsx on GitHub (May 23, 2024).
Original GitHub issue: https://github.com/brentvollebregt/auto-py-to-exe/issues/489
Originally assigned to: @xalteropsx on GitHub.
is their a way to change runtime directory cause exe run always store temp in temporary folder and c drive many time slower then other drive like i have many ssd i dont want c drive to load more junk also is their a way to change command line like python run panda i want to change uvicorn run etc
@github-actions[bot] commented on GitHub (May 23, 2024):
👋 Hi, just a reminder that if you haven't read the help post yet, give it a read to see if your issue is covered in it and make sure to follow the debugging section.
Also please note, as stated in the README, if your issue is only associated with your application and not auto-py-to-exe itself, please do not create an issue in this repository - instead, comment on the help post, video or create a new discussion.
@xalteropsx commented on GitHub (May 23, 2024):
also how can we change temporary directory to root directory while running exe ?
@brentvollebregt commented on GitHub (May 25, 2024):
You can use
--build-directory-overrideto change the directory where the build occurs.The temporary folder is deleted when the application is closed
The executable functions exactly as if you were to run the Python script you gave it. If you want it to do anything extra, make the Python script do it and then package that.
@xalteropsx commented on GitHub (Jun 1, 2024):
sorry for late reply
--build-directory-override i didnt see any setting inside auto-py-to-exe // may be if i am not wrong u mention it for only building app i mean like when the app run after build it keep extract its internal files on temporary c drive like everytime u run .exe it keep create temporary store that will slow c drive also many face less storage (single executable build)
2nd part
i didnt understand how can we change running method from existing venv file
@brentvollebregt commented on GitHub (Jun 1, 2024):
--build-directory-overridesets the directory where auto-py-to-exe packages your application. If you don't want your exe decompressing to a temp directory, do not use "one file" mode.Packaging your application will make it work the same as doing
python my_script.py- if you want to do anything fancy, you need to do it in Python.@xalteropsx commented on GitHub (Jun 1, 2024):
i guess u are right one file always has some issue rather using multi build work great but having --build directory override also good >.</ thanks alot