Commit a67b35d0 a67b35d0eb3f96d08476f5bd8b5764ef2246459c by hexid

Add check to dotNET application to make sure the process has exited before tryin…

…g to return the exit code. Source: http://stackoverflow.com/a/65070
1 parent 16d6e2b7
No preview for this file type
......@@ -167,6 +167,7 @@ class casperjs {
string line = p.StandardOutput.ReadLine();
Console.WriteLine(line);
}
p.WaitForExit();
return p.ExitCode;
} catch(Win32Exception e) {
Console.WriteLine("Fatal: " + e.Message + "; did you install " + ENGINE + "?");
......