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 aecant
Recipients aecant, josh.r, serhiy.storchaka
Date 2018-10-03.20:06:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538597216.4.0.545547206417.issue34886@psf.upfronthosting.co.za>
In-reply-to
Content
> and I got the same ValueError as for passing using kwargs. Where did you get the idea subprocess.run('ls', input=b'', stdin=None) worked?

Sorry, the example was wrong. Both calls have the same behaviour.

> so it obeys the documented API (that says stdin defaults to None, and therefore passing stdin=None explicitly should be equivalent to not passing it at all)?

The actual problem is this. The fix you propose works for me.
History
Date User Action Args
2018-10-03 20:06:56aecantsetrecipients: + aecant, serhiy.storchaka, josh.r
2018-10-03 20:06:56aecantsetmessageid: <1538597216.4.0.545547206417.issue34886@psf.upfronthosting.co.za>
2018-10-03 20:06:56aecantlinkissue34886 messages
2018-10-03 20:06:56aecantcreate