title: "print" not working when redirecting to another application
body: <p>I ran across this strange problem when redirecting the output of a python application. I was running bitmessage <a href="https://github.com/Bitmessage/PyBitmessage" rel="nofollow">from source</a> which prints quite a big amount of stuff to the console.</p>
  
  <p>I tried filtering out some of the lines with an application I have written. When I redirect the output to a file <code>python.exe src\bitmessagemain.py&gt;file.txt</code> it works fine, everything is sent to the text file. When I pipe the output into another application <code>python.exe src\bitmessagemain.py | someapp.exe</code> all "print" statements seem to be ignored. They are not redirected and not piped to the other application.</p>
  
  <p>The redirection does not even works when using system internal commands like "more" and "type CON"</p>
  
  <p>Does somebody know how to fix this?</p>