mkocher added the comment:
There also appears to be an issue when args are provided as a `pathlib.Path`
instance.
Python 3.9.2 | packaged by conda-forge | (default, Feb 21 2021, 05:02:20)
Type 'copyright', 'credits' or 'license' for more information
IPython 7.22.0 -- An enhanced
mkocher added the comment:
There's a PR up with removed `list` call as well as improved test coverage for
the case where args is passed into Popen as a string.
Hopefully this can get merged before things starting getting crazy with the
3.10 release crunch
Change by mkocher :
--
keywords: +patch
pull_requests: +24073
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/25338
___
Python tracker
<https://bugs.python.org/issu
New submission from mkocher :
When using Popen with shell=True, the output of the repr is not particularly
user friendly.
When using the form `p = Popen('python --version'.split())`, the output is
reasonably output in a user friendly form of ``.
However, when running with `shell=True