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