Encode stdin to subproc calls for Py3 compat
Encode stdin to subproc calls for Py3 compat

We need a bytes-like object for stdin for a subprocess in python3

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt