-
Recent Posts
Recent Comments
- James on Migrating big applications from Rails 2 to Rails 3
- David on The Ruby C API – Basics
- 各种MQ比较-老娘舅 on A quick message queue benchmark: ActiveMQ, RabbitMQ, HornetQ, QPID, Apollo…
- Chris on A quick message queue benchmark: ActiveMQ, RabbitMQ, HornetQ, QPID, Apollo…
- Andy on How to read one non-blocking key press in Ruby
Archives
Categories
Meta
Tag Archives: stdin
How to read one non-blocking key press in Ruby
During the development of a simple command line game in Ruby, I wanted to check if the player has pressed a given key in a non-blocking and buffered way. That is: If no key was pressed, don’t wait for one … Continue reading
How to pilot external processes’ stdin and stdout in real time using Ruby
I finally made it! Regarding my previous post about failing to pilot processes on Windows, I searched again and finally found a solution. [EDIT] I have bundled the solution I explain in this article in a nice gem that you … Continue reading
Failure at piloting external processes stdin and stdout using Ruby on Windows
I have always tried to be a polyglot programmer, and also poly-platform one. I have always cherished the idea my softwares could run on any OS. My main development environments for most of my Ruby projects are Windows (XP and … Continue reading