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

gh-95946: Note launcher's env ability to launch non-python interpreters #95947

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

CAD97
Copy link

@CAD97 CAD97 commented Aug 13, 2022

I additionally provide a footnote calling out the most likely failure mode.

@bedevere-bot bedevere-bot added docs Documentation in the Doc dir skip news awaiting review labels Aug 13, 2022
@CAD97 CAD97 changed the title g-95946: Note launcher's env ability to launch non-python interpreters gh-95946: Note launcher's env ability to launch non-python interpreters Aug 13, 2022
@cpython-cla-bot
Copy link

cpython-cla-bot bot commented Aug 13, 2022

All commit authors signed the Contributor License Agreement.
CLA signed

Comment on lines +878 to +879
non-Python interpreters meant to trampoline into Python, as this could select
a WSL `bash`, causing the script to run under WSL instead of running natively.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I worry that this makes it sound like an appealing feature, not an unintentional side-effect.

Can we warn instead about the command line having to accept the same options as the Python command line? That's the more useful information for someone who's trying to do this on purpose.

(There are also non-WSL "bash.exe"s out there, so I really don't want to start people thinking they can make Windows users run on Linux by putting bash in the shebang...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review docs Documentation in the Doc dir skip news
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants