[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

IO on windows

Dominik Werder

1/28/2006 10:59:00 AM

Hello!

One can abort my program while it is busy by "q<enter>".
This works with linux, I'm using a separate thread to do the $stdin.gets
stuff.
On windows however the $stdin.gets call in the thread blocks the whole
process. I've not found any other way to solve this.

How do you do it?

Thanks!
Dominik