c# Programming Glossary: errorlines
Piping in a file on the command-line using System.Diagnostics.Process http://stackoverflow.com/questions/850802/piping-in-a-file-on-the-command-line-using-system-diagnostics-process errors bool retval false string output string.Empty string errorLines string.Empty Process svnCommand null var psi new ProcessStartInfo.. if svnCommand.HasExited output myOutput.ReadToEnd errorLines myErrors.ReadToEnd Check for errors if errorLines.Trim .Length.. errorLines myErrors.ReadToEnd Check for errors if errorLines.Trim .Length 0 retval true catch Exception ex string msg..
|