laziness, impatience, and hubris | |
PerlMonks |
Re^4: STDERR going to stringby philkime (Beadle) |
on Oct 11, 2011 at 08:21 UTC ( [id://930761]=note: print w/replies, xml ) | Need Help?? |
It's not really the output of an external command etc. I need. It's the STDERR of a C library which an XS module uses. So when I make certain sub calls, it gets into the C routines and it's their STDERR I want to capture. It all works fine on non-Windows using STDERR redirection to a file or Capture::Tiny but on Windows, the STDERR of the library refuses to be captured. This seems to be a windows specific thing - I read somewhere that re-opening STDERR on windows de-couples perl STDERR from the C library STDERR. If so, I'm really in the dark as to how to capture this.
In Section
Seekers of Perl Wisdom
|
|