Hi everyone.

I have a problem with this command:

@arp_table = `arp -n`

When I execute it on console, all is perfect, but when I put it in the
script on Rails the string arp_table is empty and I don't view any
result.

If I do a script like that:

@list = `ls -l`

all works perfectly.

Where is the mistake ?

Thanks in advance
-- 
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