Hi all,

I use SciTE for Ruby scripting. I wonder if it is possible to
dynamically interact with my script via command prompt from within
SciTE. For example I want to get user input and then print it to the
command prompt window.

//script
input=STDIN.gets
puts input

It works if I execute the script from a prompt window but doesn't work
via SciTE. I wonder what is the Ruby way to interact with the user from
the command prompt window.

Thanks,

Li
-- 
Posted via http://www.ruby-forum.com/.