Something funny is going on because that does not work, and I suspect the code example mentioned earlier doesn't work for the same reasons (essentially the same).
I tried redirecting stderr from command and also tried redirecting everything, but the output file doesn't contain sfml output. The console window no longer displays sfml output, and a file is generated but i have no clue where the output goes.
I remember reading somewhere that some compilers do interesting stuff related to redirection. What was the pre-built csfml binaries in the win 32bit .Net package built with?