Hi, At Wed, 7 May 2003 19:36:33 +0900, Simon Strandgaard wrote: > >> Capturing output to a File works fine.. But not to StringIO, Why ??? > > > > StringIO works only in a process, not across processes. > > Do you have any suggestions for an alternative to StringIO ? Fundamentaly, StringIO works in the process'es memory space, so it's not accessible from child processes. Use pipe with popen as Brian mentioned in [ruby-talk:70798], or popen3. -- Nobu Nakada