From: Mohit Sindhwani Date: 2008-04-06T16:27:55+09:00 Subject: Re: I use exerb to generate exe file,but it doesnt work Toto Toto wrote: > 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 > 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.