Hi,

I'm new to RoR and to begin I decided to do a graphic calculator as my
second project.
I plan to use octave to evaluate the expressions, I can't get to
install the octave-ruby gem and for the sake of development speed I'll
be fetching the ouput of "octave --eval" instead.
I found that ruby uses the same command as php to run external
commands, system(), but whether i use system("octave","/usr/bin") or
system("octave"), it will return "true", telling me that the
application was successfully executed.
I can't convert the output to string, either.

What are your recommendations to grab the output from an application?

MK

-- 
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