我在本地运行 pantheon,并且在 Linux 中遇到了这样的问题。在 subprocess.py 中发生错误引发 child_exception。他们有解决这个问题的办法吗?文件 tunnel_manager.py 是这样的:
from subprocess import Popen, PIPE
if cmd[2] == 'mm-tunnelclient' or cmd[2] == 'mm-tunnelserver':
# expand home directory
for i in xrange(len(cmd_to_run)):
if ('--ingress-log' in cmd_to_run[i] or
'--egress-log' in cmd_to_run[i]):
t = cmd_to_run[i].split('=')
cmd_to_run[i] = t[0] + '=' + path.expanduser(t[1])
procs[tun_id] = Popen(cmd_to_run, stdin=PIPE,
stdout=PIPE, preexec_fn=os.setsid)