check exit code before loading result image in viewer
If the exit code is > 0 then don't load the expected result. Values indicating success are 0
or undefined
If the exit code is > 0 then don't load the expected result. Values indicating success are 0
or undefined