On 27 November 2015 at 10:56, VIDYA SAGAR POGIRI <[email protected] > wrote:
> > Ruby App running on Windows > Im using Windows > You can use the method system or backticks to run commands such as dir and get the result back [1] [2]. When you have found the file you can open it using the normal ruby file methods. [1] http://tech.natemurray.com/2007/03/ruby-shell-commands.html [2] http://blog.bigbinary.com/2012/10/18/backtick-system-exec-in-ruby.html Colin -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLup8_gXOXDD7aJM%3DRqmkybnFrAhnOSvt8uciLzcFQLZiQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.

