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

Add support for the pex --executable argument #18290

Closed
chrisjrn opened this issue Feb 17, 2023 · 0 comments · Fixed by #20497
Closed

Add support for the pex --executable argument #18290

chrisjrn opened this issue Feb 17, 2023 · 0 comments · Fixed by #20497
Labels
backend: Python Python backend-related issues enhancement

Comments

@chrisjrn
Copy link
Contributor

Survey submitter said:

Add support for pex --executable arg (pex-tool/pex#1807) in pants (complements entry_point and console_script)

@cognifloyd cognifloyd added the backend: Python Python backend-related issues label Mar 14, 2023
cognifloyd added a commit that referenced this issue Feb 9, 2024
This PR adds support for `pex --executable <path to script>` added in
pex [2.1.93](https://github.com/pantsbuild/pex/releases/tag/v2.1.93):
pex-tool/pex#1807

With this change, users should be able to do `pants run
bin/my-python-script.py`.

Closes #18290

---------

Co-authored-by: Benjy Weinberger <benjyw@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend: Python Python backend-related issues enhancement
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants