Eli Bendersky's blog about communicating with subprocesses create by subprocess
module.
Includes notes on how to interact with child process created by subprocess.Popen.
http://eli.thegreenplace.net/2017/interacting-with-a-long-running-child-process-in-python/