Hi!
After "Cannot open codesets.library" you get rc=0
Regards,
Stefan
rc after error message
rc after error message
Hollywood 9.1:
MorphOS 3.18
macOS 15.1
MorphOS 3.18
macOS 15.1
- airsoftsoftwair
- Posts: 5615
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: rc after error message
Hollywood currently never sets any DOS error code. What do you need this for?
Re: rc after error message
For example if you are using a Hollywood app in a shell script...
Hollywood 9.1:
MorphOS 3.18
macOS 15.1
MorphOS 3.18
macOS 15.1
Re: rc after error message
I see, but this workaround is laborious.
A shell or installer script should use
IF ERROR ...
Hollywood 9.1:
MorphOS 3.18
macOS 15.1
MorphOS 3.18
macOS 15.1
- airsoftsoftwair
- Posts: 5615
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
- airsoftsoftwair
- Posts: 5615
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
Re: rc after error message
Code: Select all
- 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