jp10558 Posted November 22, 2006 Posted November 22, 2006 So, I'm deploying compiled AutoIT Scripts, and my deployment tool gives the exe exit code after it's run. I've seen 130, which seems to be that it ran without problem. I recently saw 138 however, and wondered if a) someone could tell me what that meant and if there is a listing of possible exit codes and their meaning.
flyingboz Posted November 22, 2006 Posted November 22, 2006 jp10558 said: So, I'm deploying compiled AutoIT Scripts, and my deployment tool gives the exe exit code after it's run. I've seen 130, which seems to be that it ran without problem. I recently saw 138 however, and wondered if a) someone could tell me what that meant and if there is a listing of possible exit codes and their meaning. In your script, you control the exit codes. See the help file. for Exit(). Usually, exit codes of zero means normal termination. The exit codes of other applications are determined by their programmers. Consult the documentation for a list of their error codes. So, when you use RunWait() to call an external app, if you call it like so: $el = RunWait('foo.exe') oÝ÷ Ù.q©íéæjG¢×¥(Öëjw!xyȬìm«víëÚç¨MúzV®¶s`¦bb33c¶VÂÒFV⢲FòvööB7GVf`¦VÇ6P¢²æFÆRFRW'&÷ ¦VæF` Reading the help file before you post... Not only will it make you look smarter, it will make you smarter.
jp10558 Posted November 22, 2006 Author Posted November 22, 2006 If I haven't set an exit code - but there are exit codes being shown from the deployment tool - are these things created by auto2exe or is the deployment tool grabbing an exit code from somewhere else?
MHz Posted November 22, 2006 Posted November 22, 2006 What is the deployment tool? (as like a source code link to it) so we can relate to it.
jp10558 Posted November 22, 2006 Author Posted November 22, 2006 The tool is the deployment portion of OCSNG found at http://ocsinventory.sourceforge.net/ .
MHz Posted November 22, 2006 Posted November 22, 2006 Have you checked the logs for agent execution ("OcsLogon.log" and "computer_name.log") and Apache, especially Apache "error.log" file. As mentioned here. Otherwise a forum is here to question the exit code.We can help with AutoIt code but exit codes from a 3rd party software is for them to help you understand and hopefully we can come together towards a solution.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now