Checking the exit code
Both Pan and Kitchen return an error code based on how the execution went. To check the exit code of Pan or Kitchen under Windows, type the following command:
To check the exit code of Pan or Kitchen under Unix-like systems, type the following command:
If you get a zero, it means that there are no errors, whereas a value greater than zero implies failure. To understand the meaning of the error, please refer to the Pan / Kitchen documentation; URL references are provided at the end of the appendix.