From: "Bartosz Dziewoński" Date: 2011-08-20T00:54:31+09:00 Subject: Re: Open file .exe 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 Rex 2011/8/19 Phillip Gawlowski : > On Fri, Aug 19, 2011 at 11:23 AM, Yábir G. wrote: >> How i can open a exe file with ruby > > File.open("myfile.exe", "b") > > What's the problem you are actually having? :) > > -- > Phillip Gawlowski > > 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 > >