Last active
March 16, 2023 12:35
UltimateGuideToProcessManagementNet_08_ReadingOutput
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
StreamReader outputReader = process.StandardOutput; // Or use process.StandardError to read the error output | |
string line; | |
while ((line = outputReader.ReadLine()) != null) | |
{ | |
Console.WriteLine(line); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment