New submission from Alessandro <aecant...@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 <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