Fix subprocess.run() arguments with input_string parameter.
Review Request #14571 — Created Aug. 25, 2025 and submitted — Latest diff uploaded
The newly-added
input_string
parameter torun_process
could end up
passing bothstdin=subprocess.PIPE
andinput=...
, which causes an
error. This change makes it so we don't do that.
Used some code that passed
input_string
in torun_process
and no
longer saw the error.