Display error when Call fails

This commit is contained in:
Scalpel_cp 2008-08-02 19:49:00 +00:00
parent 11d7dc9962
commit 4e61b7344a

View file

@ -42,6 +42,9 @@ namespace Cosmos.Build.Windows {
xStartInfo.Arguments + " from directory " + xStartInfo.WorkingDirectory);
Console.Write(xProcess.StandardOutput.ReadToEnd());
Console.Write(xProcess.StandardError.ReadToEnd());
Console.WriteLine();
Console.WriteLine("Press any key to continue");
Console.ReadLine();
} else {
throw new Exception("Call failed");
}