my program is just
puts “hello world”
I use exerb to generate exe file,
“exerb a.rb”
it generate a exe file: a.exe
when i enter it
nothing happen
I just see a cmd windows flash
why?
my
exerb is 4.2
ruby 1.8.5
windows XP
my program is just
puts “hello world”
I use exerb to generate exe file,
“exerb a.rb”
it generate a exe file: a.exe
when i enter it
nothing happen
I just see a cmd windows flash
why?
my
exerb is 4.2
ruby 1.8.5
windows XP
Toto T. wrote:
nothing happen
I just see a cmd windows flash
why?my
exerb is 4.2
ruby 1.8.5
windows XP
I haven’t used exerb but I think you may need to run a.exe from the
command line. It sounds like you’re double clicking on it in Windows.
If I understand it correctly, you click on the file name, it opens a
command window, prints “hello world” and exits the program, therefore
closing the command window after that.
Cheers
Mohit.
Mohit S. wrote:
when i enter it
Yes - and if this is happening, simply open a command window first, then
launch your exe file from the command line - “ruby {name}.exe”. The
command window should remain open upon program termination.
t.
–
Tom C., MS MA, LMHC
Private practice Psychotherapist
Bellingham, Washington, U.S.A: (360) 920-1226
<< [email protected] >> (email)
<< TomCloyd.com >> (website & psychotherapy weblog)
<< sleightmind.wordpress.com >> (mental health issues weblog)
<< directpathdesign.com >> (web site design & consultation)
Mohit S. wrote:
Toto T. wrote:
nothing happen
I just see a cmd windows flash
why?my
exerb is 4.2
ruby 1.8.5
windows XPI haven’t used exerb but I think you may need to run a.exe from the
command line. It sounds like you’re double clicking on it in Windows.If I understand it correctly, you click on the file name, it opens a
command window, prints “hello world” and exits the program, therefore
closing the command window after that.Cheers
Mohit.
It works.
Thank you very much.
^-^
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