Skip to content

Remove shared.PYTHON. NFC #17197

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

Merged
merged 1 commit into from
Jun 13, 2022
Merged

Remove shared.PYTHON. NFC #17197

merged 1 commit into from
Jun 13, 2022

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Jun 10, 2022

This was nothing more than an alias for sys.executable. While this
is used a fair amount in testing, emscripten itself should not be
forking python subprocesses itself, but instead using the launcher
scripts.

@sbc100 sbc100 requested a review from kripken June 10, 2022 21:16
@sbc100 sbc100 force-pushed the remove_shared_python branch from f5714d4 to 94b7af5 Compare June 11, 2022 00:01
@sbc100 sbc100 requested a review from kripken June 11, 2022 00:01
@sbc100 sbc100 enabled auto-merge (squash) June 11, 2022 00:01
This was nothing more than an alias for sys.executable.  While this
is used a fair amount in testing, emscripten itself should not be
forking python subprocesses itself, but instead using the launcher
scripts.

There is one place in emscripten where we do fork a python subprocess
directly (when we run tools/wasm-sourcemap.py) and I'm not sure its
worth adding a wrapper for that minor tool.  For that one case I've
added `-E` to match the changes we are planning to the launcher
scripts: #16736
@sbc100 sbc100 force-pushed the remove_shared_python branch from 94b7af5 to 046fc86 Compare June 13, 2022 17:02
@sbc100 sbc100 merged commit e3136a8 into main Jun 13, 2022
@sbc100 sbc100 deleted the remove_shared_python branch June 13, 2022 18:08
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

Successfully merging this pull request may close these issues.

2 participants