[issue27273] subprocess.run(cmd, input='text') should pass universal_newlines=True to Popen

Yassir Karroum report at bugs.python.org
Wed Jan 12 13:03:15 EST 2022


Yassir Karroum <ukarroum17 at gmail.com> added the comment:

As of 3.7, the subprocess.run has a new parameter "text".

IMO it's safer to explicitly set the "text" value instead of inferring it from the "input" type.

----------
nosy: +ukarroum

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue27273>
_______________________________________


More information about the Python-bugs-list mailing list