Alessandro <aecant...@gmail.com> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue34886>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to