chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / python2 / Lib-subprocess.py.patch
1 diff -u -r ../Python-2.7.10/Lib/subprocess.py ./Lib/subprocess.py
2 --- ../Python-2.7.10/Lib/subprocess.py  2015-05-23 12:09:07.000000000 -0400
3 +++ ./Lib/subprocess.py 2015-09-26 18:01:13.672071916 -0400
4 @@ -1206,7 +1206,7 @@
5                  args = list(args)
6  
7              if shell:
8 -                args = ["/bin/sh", "-c"] + args
9 +                args = ["@TERMUX_PREFIX@/bin/sh", "-c"] + args
10                  if executable:
11                      args[0] = executable
12