This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mkocher
Recipients mkocher
Date 2021-04-08.18:42:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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 `<Popen: returncode: None args: ['python', '--version']>`. 

However, when running with `shell=True`, the output is mangled.

For example, trying to run `python --help` via `p = Popen('python --version', shell=True)` yields the following output.

`<Popen: returncode: None args: ['p', 'y', 't', 'h', 'o', 'n', ' ', '-', '-',...>`

The original change appears to be motivated by 

and the PR here:
Date User Action Args
2021-04-08 18:42:23mkochersetrecipients: + mkocher
2021-04-08 18:42:23mkochersetmessageid: <>
2021-04-08 18:42:23mkocherlinkissue43776 messages
2021-04-08 18:42:23mkochercreate