It works for me on XP Pro using %x (or the backquote) to execute and
with 2>&1.

> -----Original Message-----
> From: Zach Dennis [mailto:zdennis / mktec.com]
> Sent: Tuesday, November 02, 2004 12:13 AM
> To: ruby-talk ML
> Subject: Away to capture stderr, stdout...etc....Windows, yet?
> 
> Has there been a way to capture stdout and stderr (most important) on
> Windows yet?
> 
> I'm in need of this capability, and I see that Open3 won't work
because
> it uses fork, and a "2&>1" won't work because of something inside of
the
> win32.c file, since I'm on Windows NT? (tis what i found on Google)
> 
> Any ideas?
> 
> Thanks,
> 
> Zach
>