How i can open a exe file with ruby
thanks
···
--
Posted via http://www.ruby-forum.com/.
File.open("myfile.exe", "b")
What's the problem you are actually having?
On Fri, Aug 19, 2011 at 11:23 AM, Yábir G. <cometa199@gmail.com> wrote:
How i can open a exe file with ruby
--
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
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 <cmdjackryan@gmail.com>:
On Fri, Aug 19, 2011 at 11:23 AM, Yábir G. <cometa199@gmail.com> wrote:
How i can open a exe file with ruby
File.open("myfile.exe", "b")
What's the problem you are actually having?
--
Phillip Gawlowskiphgaw.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