make python subprocess module work with ape/sh

This commit is contained in:
cinap_lenrek 2017-06-05 17:21:42 +02:00
parent 73bf5ccc28
commit 8bf3674983

View file

@ -991,6 +991,9 @@ class Popen(object):
args = list(args) args = list(args)
if shell: if shell:
if sys.platform == 'plan9':
args = ["/bin/ape/sh", "-c"] + args
else:
args = ["/bin/sh", "-c"] + args args = ["/bin/sh", "-c"] + args
if executable is None: if executable is None: