polluks wrote: ↑Sun Oct 22, 2023 3:49 pm
For example if you are using a Hollywood app in a shell script...
Hmm, yeah, might make sense to add this but then of course the question is if it should also return those codes in case of script runtime errors. Need to make up my mind about this.
- Change: Hollywood sets the return code to 20 now whenever an error has occurred; this allows you to
react on it when embedding Hollywood in batch scripts
- New: Added the ERRORCODE console argument/tooltype; this argument allows you to set an error code that
Hollywood should return in case an error occurs; this allows you to react on certain error codes when
embedding Hollywood in batch scripts; note that the code set via ERRORCODE will only be returned in case
a Hollywood error occurs; your script can also return error codes using the End() function