title: Communicate with subprocess without waiting for the subprocess to terminate on windows
body: <p>I have a simple echoprocess.py:</p>
  
  <pre><code>import sys
  
  while True:
      data = sys.stdin.read()
      sys.stdout.write("Here is the data: " + str(data))
  </code></pre>
  
  <p>And a parentprocess.py</p>
  
  <pre><code>from subprocess import Popen, PIPE
  
  proc = Popen(["C:/python27/python.exe", "echoprocess.py"],
               stdin = PIPE,
               sdtout = PIPE)
  
  proc.stdin.write("hello")
  print proc.stdout.read()
  </code></pre>
  
  <p>This just hangs until echoprocess.py is terminated. I want to communicate with this subprocess multiple times without having to restart it again. Is this kind of interprocess communication possible with the Python subprocess module on Windows?</p>