How i can open a exe file with ruby
thanks
How i can open a exe file with ruby
thanks
On Fri, Aug 19, 2011 at 11:23 AM, Ybir G. [email protected] wrote:
How i can open a exe file with ruby
File.open(“myfile.exe”, “b”)
What’s the problem you are actually having?
–
Phillip G.
phgaw.posterous.com | twitter.com/phgaw | gplus.to/phgaw
A method of solution is perfect if we can forsee from the start,
and even prove, that following that method we shall attain our aim.
– Leibniz
Do you want to open the file (as in, read its contents) or run it
(execute)?
Philip gave you solution for the first case, the simples one for
running is myfile.exe
(note the backticks).
– Matma R.
2011/8/19 Phillip G. [email protected]:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs