[New-bugs-announce] [issue34886] subprocess.run throws exception when input and stdin are passed as kwargs

Alessandro report at bugs.python.org
Wed Oct 3 14:50:38 EDT 2018


New submission from Alessandro <aecantini at gmail.com>:

If input and stdin parameters are passed as keyword arguments to subprocess.run, an exception is thrown even if input and stdin are both None.

The exception is ValueError: stdin and input arguments may not both be used.

I attach a minimal working example of the bug

----------
components: Library (Lib)
files: subprocess_run_bug.py
messages: 327002
nosy: aecant
priority: normal
severity: normal
status: open
title: subprocess.run throws exception when input and stdin are passed as kwargs
type: behavior
versions: Python 3.7
Added file: https://bugs.python.org/file47847/subprocess_run_bug.py

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue34886>
_______________________________________


More information about the New-bugs-announce mailing list