← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #268754]: put a variable as text into a Debug.log("image not found %", xyz)

 

Question #268754 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268754

Eugene S proposed the following answer:
The numbers that can be used inside exit() calls are the exit codes.

For example:
exit(0) means a clean exit without any errors / problems
exit(1) means there was some issue / error / problem and that is why the program is exiting.

This is not a Sikuli specific feature and is pretty common. A non-zero
exit code is treated as an abnormal exit and the error code indicates
what was the problem. A zero error code means a successful exit.

This is useful for other programs, shell, caller etc. to know what
happened with your program and proceed accordingly.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.