newlines on stderr

Joost's Avatar


04 Jun, 2018 12:33 PM


our project is, since a couple of weeks, experiences problems that seem to originate from 'random' newlines in output written to stderr. An example of this is :

these newlines can appear even in the middle of number, and disrupt tests such as
./stockfish bench 2> out.txt
grep "foo 123" out.txt

As far as we know, this only happens in the appveyor environment. Is there any reason/workaround for this ?


  1. Support Staff 1 Posted by Owen McDonnell on 04 Jun, 2018 06:56 PM

    Owen McDonnell's Avatar

    Not sure i can say the reason for the strange output when run from powershell but its probably more predictable if you use cmd to generate the out.txt file by running

    - stockfish bench 2> out.txt
    after cd src/%CONFIGURATION%
  2. 2 Posted by Joost VandeVond... on 05 Jun, 2018 02:59 PM

    Joost VandeVondele's Avatar


    Owen McDonnell <[email blocked]> schrieb am Mo., 4. Juni
    2018, 20:56:

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:


Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

18 Aug, 2018 12:13 AM
17 Aug, 2018 09:45 PM
17 Aug, 2018 06:02 PM
17 Aug, 2018 04:26 PM
17 Aug, 2018 04:04 PM