From: Phillip Gawlowski Date: 2008-04-14T14:22:02+09:00 Subject: Re: gets.chomp....... not function -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Vister Gade wrote: |> The Windows command prompt closes after the program is done running |> unless the program was run by an already existing command prompt IIRC. |> My advice would be to opening a command prompt, and running it from an |> already opened command prompt. This should allow you to see the output |> of your program. | | | | Thanks... can u teach me how to run in step by step.... sorry but i | really needing u help.... Start -> Run... -> cmd -> help Navigate to the directory you saved the Ruby script, and type "ruby name_of_your_script.rb". This assumes that Ruby is in your path. Otherwise, you'll have to type in the path to ruby.exe, too (For example: "c:\ruby\bin\ruby.exe your_scrupt.rb"). More help can be found here: http://www.google.com / - -- Phillip Gawlowski Twitter: twitter.com/cynicalryan ~ - You know you've been hacking too long when... ...you've been low-level debugging ethernets for a week and you see two people at a table trying to pick up the same jar of butter and you directly wonder if they are using the correct CSMA/CD algorithm to avoid a re-collision. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkgC6fsACgkQbtAgaoJTgL8K2wCgp8bne4hva7aPHeF88QCSmtXS HsQAn1AaZVHSKHb1oKwYaJ+r8BaWagXx =Uu7T -----END PGP SIGNATURE-----