# Ruby hanging

**URL:** <https://www.ruby-forum.com/t/ruby-hanging/97759>\
**Category:** Ruby\
**Created:** [July 10, 2006, 1:32pm UTC](https://www.ruby-forum.com/t/ruby-hanging/97759 "2006-07-10T13:32:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![zanoni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/e99b99/32.png) [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Post date:** [July 10, 2006, 1:32pm UTC](https://www.ruby-forum.com/t/ruby-hanging/97759/1 "2006-07-10T13:32:34Z")

</div>

I have some code which seems to hang Ruby, I’m running on Windows and  
using  
Scite. I execute and a command window opens, remains blank and nothing  
happens.  
Is there a way to get it to spit out an error messages when it’s in that  
state ?

TIA  
Stuart

---

<div class="post-metadata">

**Author:** ![zanoni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/e99b99/32.png) [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Post date:** [July 10, 2006, 2:22pm UTC](https://www.ruby-forum.com/t/ruby-hanging/97759/2 "2006-07-10T14:22:18Z")

</div>

> TIA  
> Stuart

If you are just double clicking on your programs to run them I would  
suggest opening a stand alone command line and then running your program  
from it so it won’t close with the error messages when the program  
exits.

Tait P.

---

<div class="post-metadata">

**Author:** ![zanoni](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/z/e99b99/32.png) [@zanoni](https://www.ruby-forum.com/u/zanoni)\
**Post date:** [July 10, 2006, 2:28pm UTC](https://www.ruby-forum.com/t/ruby-hanging/97759/3 "2006-07-10T14:28:27Z")

</div>

I’m run my programs in Scite and have bumped into this before and have  
to  
issue a ‘stop executing’ through Scite.  
I’m past the problem now with this particular piece of code but still  
curious as to why it might happen and more so, why there is no error  
messages produced.

Stuart
