in reply to Re: Capturing stdout and segfault of a programin thread Capturing stdout and segfault of a program