Hello,
It would help if you provide more context (Genero version, OS, locale, etc)
Errors written to stderr should be an exception.
If you do not need to process stderr output in parallel to stdout output, I would redirect stderr to a file, process stdout and then read from the file containing stderr output.
See attachment.
BR
Seb