On 4/27/12, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
>
I am such an idiot, I've already asked this before. And Vlad gave me a
perfectly good answer the last time:
if (!GetConsoleWindow()) {
stdout.open("stdout.log", "w");
stderr.open("stderr.log", "w");
}