fixed a possible bad bug in linux builder

This commit is contained in:
David Anderson 2007-08-03 17:31:42 +00:00
parent bbc6af247b
commit c5e36a4e3c
2 changed files with 1 additions and 1 deletions

View File

@ -117,10 +117,10 @@ public override string BuildModule(Module module)
info.RedirectStandardOutput = true;
p = Process.Start(info);
string output = p.StandardOutput.ReadToEnd();
p.WaitForExit();
p.Close();
string output = p.StandardOutput.ReadToEnd();
if (output.IndexOf("Handle:") == -1)
return null;