Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how can we change the running command ? #489

Closed
xalteropsx opened this issue May 23, 2024 · 6 comments
Closed

how can we change the running command ? #489

xalteropsx opened this issue May 23, 2024 · 6 comments
Assignees

Comments

@xalteropsx
Copy link

xalteropsx commented May 23, 2024

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

@xalteropsx xalteropsx added the bug Something isn't working label May 23, 2024
Copy link

👋 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
Copy link
Author

also how can we change temporary directory to root directory while running exe ?

@brentvollebregt
Copy link
Owner

is their a way to change runtime directory cause exe run always store temp in temporary folder

You can use --build-directory-override to change the directory where the build occurs.

i dont want c drive to load more junk

The temporary folder is deleted when the application is closed

is their a way to change command line like python run panda i want to change uvicorn run etc

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.

@brentvollebregt brentvollebregt removed the bug Something isn't working label May 31, 2024
@xalteropsx
Copy link
Author

xalteropsx commented 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
Copy link
Owner

--build-directory-override sets 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.

i didnt understand how can we change running method from existing venv file

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
Copy link
Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants