Set the environment "ExitCode" variable to 1 on error.
Version 1.4.1