[issue16255] subrocess.Popen needs /bin/sh but Android only has /system/bin/sh
Stefan Krah
report at bugs.python.org
Wed Jul 20 07:37:24 EDT 2016
Stefan Krah added the comment:
Apparently sysconfig.get_config_var() is already called in site.py anyway,
so in principle I'm fine with using it here.
In the stdlib it seems to be the first use outside site.py though, and
site.py can be disabled by using "python -S", so perhaps we should be
extra careful, set UNIX_SHELL unconditionally to "/bin/sh" and move
the Android conditional inside a try/except.
But perhaps I'm being irrational here. Victor, what do you think?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16255>
_______________________________________
More information about the Python-bugs-list
mailing list