I have a child subprocess created via
import subprocess proc = subprocess.Popen(my_command, stdin=subprocess.PIPE,