# \>Exit code: 0

**URL:** <https://www.ruby-forum.com/t/exit-code-0/85748>\
**Category:** Ruby\
**Created:** [February 16, 2007, 1:13am UTC](https://www.ruby-forum.com/t/exit-code-0/85748 "2007-02-16T01:13:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![isaac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/8e8cbc/32.png) [@isaac](https://www.ruby-forum.com/u/isaac)\
**Post date:** [February 16, 2007, 1:13am UTC](https://www.ruby-forum.com/t/exit-code-0/85748/1 "2007-02-16T01:13:04Z")

</div>

when i try to run the script it says \>Exit code: 0 off to the right  
(i learned autoit but im trying to leare ruby)  
i just put in little simple thing  
puts “Hello”  
whats my problem

(i use SciTE)

---

<div class="post-metadata">

**Author:** ![isaac](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/8e8cbc/32.png) [@isaac](https://www.ruby-forum.com/u/isaac)\
**Post date:** [February 16, 2007, 2:18am UTC](https://www.ruby-forum.com/t/exit-code-0/85748/2 "2007-02-16T02:18:38Z")

</div>

> when i try to run the script it says \>Exit code: 0 off to the right  
> (i learned autoit but im trying to leare ruby)  
> i just put in little simple thing  
> puts “Hello”  
> whats my problem
> 
> (i use SciTE)

An error code of 0 means that your program ended successfully. Any other  
code  
than 0 mean a real error.  
The error code is displayed only when run from SciTE, it won’t be  
displayed if  
it is run normally in a shell.
