On Tue, Nov 10, 2009 at 5:43 PM, Bill Kelly <billk / cts.com> wrote:
> Alternately, if you can use ruby 1.9.x, there appears to be
> a very powerful new Kernel.spawn command. See the `ri`
> documentation, several pages...)
>
> Also in 1.9.x, it appears to now be possible to pass an Array for the
> command arguments to popen:
>
> irb(main):001:0> IO.popen(["ls", "-l", "GL_GameOfLife.zip",
> "quake3-1.32b-source.zip"], "r") {|io| puts(io.read)}

Thanks, Bill. I'm glad to hear that the standard library will be
getting the capability to do this without a hack, because it seems
like a big omission in ruby-1.8.

-Dan