The attached simple case doesn't capture STDERR in Windows. Seems ok on all other platforms.
It's not clear to me if this is a Windows thing you can't do anything about? This is a minimal
example of a general issue of not capturing STDERR from XS/external libs in windows.