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 akira
Recipients akira
Date 2016-06-08.23:59:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1465430363.96.0.915441067061.issue27273@psf.upfronthosting.co.za>
In-reply-to
Content
At the moment, subprocess.run(cmd, input='text') raises TypeError.
It would be nice if universal_newlines=isinstance(input, str) if *input* is set.

I've attached a corresponding patch with the necessary changes to the docs, tests and the subprocess.run() code.
History
Date User Action Args
2016-06-08 23:59:24akirasetrecipients: + akira
2016-06-08 23:59:23akirasetmessageid: <1465430363.96.0.915441067061.issue27273@psf.upfronthosting.co.za>
2016-06-08 23:59:23akiralinkissue27273 messages
2016-06-08 23:59:23akiracreate