Improve process exit code assertion error messages
Enhance assertion failure messages to be more explicit about what happened during process execution and include both STDOUT and STDERR output for better debugging.
Previously, the assertion message was unclear about what type of mismatch occurred. The improved message now clearly labels expected vs actual exit codes and includes process output that may contain errors only visible in STDOUT.
Closes #3486481