You can use system system method in the kernel class of ruby for this
purpose

look at this link
http://ruby-doc.org/core/classes/Kernel.html#M005971

Hope this helps you.

-Saurav

On May 26, 1:24 am, anon_comp <[email protected]> wrote:
> Is there a code for Ruby on Rails to open Command Prompt, input a
> line, and execute it? If not, is there something similar or an
> alternative I can use?
>
> Thanks,
> anon_comp

-- 
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 [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to