diff -r 77154b3fcd20 Lib/subprocess.py --- a/Lib/subprocess.py Mon Jul 18 22:08:19 2016 -0700 +++ b/Lib/subprocess.py Tue Jul 19 18:10:16 2016 +0200 @@ -1466,7 +1466,13 @@ args = list(args) if shell: - args = ["/bin/sh", "-c"] + args + import sysconfig + # On Android the default shell is at '/system/bin/sh'. + if sysconfig.get_config_var('ANDROID_API_LEVEL'): + unix_shell = '/system/bin/sh' + else: + unix_shell = '/bin/sh' + args = [unix_shell, "-c"] + args if executable: args[0] = executable