I tried the following but i'm getting errors...am I missing something 
here?

>> f = IO.popen("maxima")
=> #<IO:0x208d5e8>
>> f.puts "1+1;"
IOError: not opened for writing
  from (irb):7:in `write'
  from (irb):7:in `puts'
  from (irb):7
>> f.close_write
IOError: closing non-duplex IO for writing
  from (irb):8:in `close_write'
  from (irb):8



-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to