I am running a build, and I would like to be able to view the progress as it happens. But I would also like to save the output if the build has an error.
I know I can use Process.UseShellExecute = false
, and RedirectStandardOutput
, but that's only part of the story.
How can I do this?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…