Jump to content

How do I generate "Exit Code" in AutoIt ?


Recommended Posts

if ($badness) then exit 1
; if we reach this point then all is well
 exit 0

Edit: To clarify, the integer after the Exit instruction is the 'exit code' or return code.

P.S. A search in the help file for 'exit code' gives the appropriate page as the first result. ;)

Edited by LxP
Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...