Add option to specify expected exit code from exec'd program

Added a configuration option allowing the task to succeed if the exec'd program returns a non-zero exit code matching that configured in the option ('exitCode').  The specific use-case for this is execution of Windows Explorer targeted on an output directory - Explorer returns an exit code of 1 (!)