chiark / gitweb /
preload-hacks: Some patches to make it work.
[termux-packages] / packages / python / subprocess.py.patch
1 diff -u -r ../Python-3.4.1/Lib/subprocess.py ./Lib/subprocess.py
2 --- ../Python-3.4.1/Lib/subprocess.py   2014-05-19 07:19:38.000000000 +0200
3 +++ ./Lib/subprocess.py 2014-06-04 11:31:48.708843737 +0200
4 @@ -1344,7 +1344,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