RAMzor Posted September 27, 2005 Share Posted September 27, 2005 I use the AutoIt to write small test programm and run it under GUI ( JTAG - DOS based program ) in Windows. For test report ( PASS / FAIL ) I need "Exit Code". How do I generate "Exit Code" in AutoIt ? Link to comment Share on other sites More sharing options...
LxP Posted September 27, 2005 Share Posted September 27, 2005 (edited) 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 September 27, 2005 by LxP Link to comment Share on other sites More sharing options...
RAMzor Posted September 27, 2005 Author Share Posted September 27, 2005 Ohhh... I'm unattentive! Thank you! Link to comment Share on other sites More sharing options...
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