Python subprocess.Popen doesn't take text argument
问题 According to the Python 3 documentation for subprocess.Popen, the class constructor takes an optional argument text (which is supposed to control whether the file objects stdin, stdout and stderr are opened in text mode). However, when I try setting text=true upon construction of a Popen object, I get the error Failed: TypeError: __init__() got an unexpected keyword argument 'text' and when I look in the source code (I'm using Python 3.6.4), the constructor takes no argument text . What is