On Fri, 24 May 2002, Tobias Reif wrote:
> 
> Then I might think about an RCR for a feature which saves me from 
> writing stuff like
> 
> [ http://ruby-talk.com/9739 ]
> ...
>   if ENV.has_key?("OS") && ENV["OS"] =~ /nt/i
>                 puts "It's either NT or 2K, use 'cmd.exe /c '" if $DEBUG
>                 #it's either NT or Win2K
>                 command_shell = "cmd.exe /c "
> ...

AFAIK, even doing it this way may not get you there.  I think that
"cmd.exe /c ..." does exactly what system(...) does, and will not return
its stdout or stderr to the caller.

Dennis