in reply to Capturing stdout and segfault of a program

See nodes Re^2: Redirecting and using output from executed program, Re: How to capture STDOUT/STDERR of a function, Re: STDOUT, STDERR sniffer, Re: How do I redirect STDOUT to a string?, and Re: Catch messages to STDERR.
  • Comment on Re: Capturing stdout and segfault of a program