Open file .exe

How i can open a exe file with ruby


On Fri, Aug 19, 2011 at 11:23 AM, Ybir G. [email protected] wrote:

How i can open a exe file with ruby“myfile.exe”, “b”)

What’s the problem you are actually having? :slight_smile:

Phillip G. | |

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

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]: