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

px --install doesn't use full path #146

Closed
drguildo opened this issue May 4, 2022 · 3 comments
Closed

px --install doesn't use full path #146

drguildo opened this issue May 4, 2022 · 3 comments
Labels

Comments

@drguildo
Copy link

drguildo commented May 4, 2022

When doing px --install to run px at startup, the registry entry it creates doesn't contain the full path to the px executable, so if the directory it's located in isn't in the system or user path, px will fail to run.

>reg query HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run /v Px

HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run
    Px    REG_EXPAND_SZ    px.exe
@genotrance
Copy link
Owner

I'll look into this - is this the px binary from the releases page or did you install px using pip?

@drguildo
Copy link
Author

drguildo commented May 5, 2022

Thanks. It's a version 0.6.3 binary from the releases page.

@genotrance
Copy link
Owner

Workaround for now is to --install in powershell. I was able to reproduce the issue in cmd.

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

No branches or pull requests

2 participants