I want to start a process and feed it information through its standard
input and read the result from its standard output.  The "popen"
command seems to do one or the other, but not both at once.  It there
a way to do this?  (Currently I'm using a work-around using a
temporary file).

In a similar vein, is there an "expect"-like addon for Ruby?

-- 
-- Jim Weirich     jweirich / one.net    http://w3.one.net/~jweirich
---------------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct, 
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)