代码运行为:
u = subprocess.Popen(['process','abc','def','','ghi','jkl'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
由于发生错误,它在下面不起作用:
ValueError: I/O operation on closed file
代码运行为:
u = subprocess.Popen(['process','abc','def','','ghi','jkl'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
由于发生错误,它在下面不起作用:
ValueError: I/O operation on closed file