run python scripts as "python -c text"#8565
Conversation
98ccbdc to
f11f81d
Compare
|
Thank you for addressing it. I guess that your change would resolve the reported error. I checked that a non-ascii working directory test with Unfortunately, even after your change, I realized that There the parent assumed the default |
|
Further fixes welcome I expect, meanwhile if we're happy that this one is good and does fix some things then hopefully we can take that win. Progress is progress. |
|
also none of the callers of |
and not as "python -", and then passing the script as input
f11f81d to
ace4865
Compare
|
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
and not as "python -", and then passing the script as input
this sidesteps encoding issues, fixes #8550
comments:
subprocess.run()are now executed viasubprocess.check_output()run_python_scriptwas the only caller making use ofinput_in this code, I've removed thesubprocess.run()branch altogetherlen(GET_ENVIRONMENT_INFO)is 1717, the Windows limit should be 8191, it's much larger elsewhereenv_manager.py