[Win32utils-devel] streams in fork

win32utils-devel at rubyforge.org win32utils-devel at rubyforge.org
Wed Nov 24 11:52:24 EST 2004


> -----Original Message-----
> From: win32utils-devel-bounces at rubyforge.org 
> [mailto:win32utils-devel-bounces at rubyforge.org] On Behalf Of 
> win32utils-devel at rubyforge.org
> Sent: Tuesday, November 23, 2004 9:01 PM
> To: win32utils-devel at rubyforge.org
> Subject: [Win32utils-devel] streams in fork
> 
> 
> hi all,
> 
> is there a way to use fork with redirected streams? i mean in 
> a similar way that ruby's standard open3 does it.
> 
> i'd like to be able to read the stdout/stdin/stderr streams 
> from the forked ruby process in the parent process.
> 
> cheers,
> aslak

Do you mean so that you could create pipes using IO.popen for example?
Not at the moment, but it's something I would like to have implemented
at some point.

If that's not what you meant, can you provide an example of what you
wish to accomplish?

Dan



More information about the win32utils-devel mailing list