"Christian Rish" <chrris / mail.dk> writes:

> Is it possible to get an IO object that wraps the standard input of the
> command executed, and having the command run in the background until it
> terminates?

Would IO#popen do what you want?

    http://www.rubycentral.com/book/ref_c_io.html#popen

and the second half of:

    http://www.rubycentral.com/book/tut_threads.html


Regards

Dave