On 7/17/06, Chris Dawson <[EMAIL PROTECTED]> wrote:
But, this just hangs.  Any suggestions, or an explanation why the
above doesn't work?

By default, IO.popen opens in "r" (i.e., read-only) mode. You'll need to use the second argument to popen, like so:

IO.popen("perl  -e 'while( <> ) { push @stuff, $_; }; print @stuff'","w+")



_______________________________________________
PDXRuby mailing list
[email protected]
IRC: #pdx.rb on irc.freenode.net
http://lists.pdxruby.org/mailman/listinfo/pdxruby

Reply via email to