title: Opening an .exe and passing commands to it via Python subprocess?
body: <p>So I have my .exe program that opens but i want to pass strings to it from my python script.
  Im opening the exe like this</p>
  
  <pre><code>import subprocess
  p = subprocess.Popen("E:\Work\my.exe", shell=True)
  #let user fill in some tables
  p.communicate("userInfo")
  </code></pre>
  
  <p>I want to pass a string to this program while having it just run in the background and not take over any ideas?</p>