On Saturday, 21 May 2016 at 21:54:43 UTC, Era Scarecrow wrote:
On Saturday, 21 May 2016 at 21:47:20 UTC, chaseratx wrote:
Thanks Era, but I am not trying to fix the range error. That was put there intentionally to create stderr output.

I wonder, this sounds like a TLS (Thread Local Storage) issue where the local thread's stderr was updated but the global (shared?) one wasn't.

Well found a quick solution. gotta close the original handle first! :)

  stderr.close();
  stderr.open("error.log", "a");
  stdout.open("output.log", "a");

Reply via email to