The SciTE editor will run Ruby programs for me if I press F5. But when I try to run a program that requires user input (using “gets”), it doesn’t work. A black window with a blinking cursor pops up, but when I try to type in it, nothing happens. Running the same programs from the windows command line works fine.
I use the Scite editor version 2.27 and Ruby 1.9.2-p290.
Am I doing something wrong? What can I do to fix this?
ETA: Turns out the DOS window does nothing, and if I minimize it, I can type right into the output window. Modified question: How do I make the DOS window stop popping up?
It’s ‘normal‘
Some problems you have (I think) and the solutions:
STDOUT.flushMy test script: