In a C# 2010 desktop application, I have the following question about have my application executing another application by using the process class and checking the output from executing the other process:
1. When an error occurs, is there a way to rate how severe the error is? If so, can you tell me who to tell what the severity level of the error is?
2. Is there a way to tell when the return code value is an error, warning, and/or an informational level message? If this is possible, can you tell me how to rate the values levels that are returned by the process?