我正在执行一个模块 popen1.py 并使用 subprocess 模块调用 popen2.py,
但是没有显示 popen2.py 的输出..当我显示子进程 id 时,它正在显示..popen2.py 的输出将在哪里打印
称呼
child = subprocess.Popen(['python', 'popen2.py',"parm1='test'","parm='test1'"], shell=True,
stdin=subprocess.PIPE,
stdout=subprocess.PIPE, stderr=subprocess.PIPE)