mirror of
git://git.9front.org/plan9front/plan9front
synced 2025-01-12 11:10:06 +00:00
make python subprocess module work with ape/sh
This commit is contained in:
parent
73bf5ccc28
commit
8bf3674983
1 changed files with 4 additions and 1 deletions
|
@ -991,7 +991,10 @@ class Popen(object):
|
|||
args = list(args)
|
||||
|
||||
if shell:
|
||||
args = ["/bin/sh", "-c"] + args
|
||||
if sys.platform == 'plan9':
|
||||
args = ["/bin/ape/sh", "-c"] + args
|
||||
else:
|
||||
args = ["/bin/sh", "-c"] + args
|
||||
|
||||
if executable is None:
|
||||
executable = args[0]
|
||||
|
|
Loading…
Reference in a new issue