We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
uv run file
Right now, you need uv run ./file, but I think uv run file should work too? Similar to how python file works.
uv run ./file
python file
See: #6360
The text was updated successfully, but these errors were encountered:
\cc @zanieb
Sorry, something went wrong.
I think no, per shell behavior:
❯ touch foo ❯ chmod +x foo ❯ foo zsh: command not found: foo ❯ ./foo
I think we're doing the right thing by special-casing .py files.
.py
I was similarly confused by this, so I'll mention this here for future users searching issues for this:
As someone who used pipx, I was using pipx run standalone-script or pipx run standalone-script.py previously, and was looking to do the same with uv.
pipx
pipx run standalone-script
pipx run standalone-script.py
I also was using pipx run in my shebangs in a similar way, but other issues are open regarding this #6360
pipx run
No branches or pull requests
Right now, you need
uv run ./file
, but I thinkuv run file
should work too? Similar to howpython file
works.See: #6360
The text was updated successfully, but these errors were encountered: