Monday, May 24, 2010

[Rails] Running .exe External File in Ruby

Just need some help on how to run an .exe file in Ruby.

I tried the code:

f = IO.popen("C:\analog 6.0\analog.exe")
puts f.readlines

Which I had a bit of suspicion that it didn't work, and it didn't.

Help please, thanks.

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate