Closed chess99 closed 3 years ago
It would be better to pass universal_newlines=True to the Popen instead. That way it will be text output on both Pythoin 2.7 and 3.x. Otherwise, I think the decode might fail on Python 2.7 (which the code still supports).
It would be better to pass universal_newlines=True to the Popen instead. That way it will be text output on both Pythoin 2.7 and 3.x. Otherwise, I think the decode might fail on Python 2.7 (which the code still supports).
PR updated
solved: