anon_comp wrote:
> On May 25, 4:42�pm, Frederick Cheung <[email protected]>
> wrote:
>> On May 25, 9:24�pm, 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?
>>
>> system, `` or IO.popen ?
>>
>> Fred
> 
> 
> I've tried IO.popen and couldn't seem to get it to take in additional
> parameters (sorry, seemed to have forgotten that information)

Check its documentation.

> As for
> the other two, I have no idea how to use them.

So read the docs and/or the Pickaxe Book!  What's the problem?

Best,
--
Marnen Laibow-Koser
http://www.marnen.org
[email protected]
-- 
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 [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