Commit d4496518 d44965187428a464ec1ae2b6cb67b7aeeb1cdd12 by Nicolas Perriault

Merge pull request #765 from hexid/dotNET-wait-for-exit

Update dotNET executable to wait for the Casper process to exit
2 parents 16d6e2b7 a67b35d0
No preview for this file type
...@@ -167,6 +167,7 @@ class casperjs { ...@@ -167,6 +167,7 @@ class casperjs {
167 string line = p.StandardOutput.ReadLine(); 167 string line = p.StandardOutput.ReadLine();
168 Console.WriteLine(line); 168 Console.WriteLine(line);
169 } 169 }
170 p.WaitForExit();
170 return p.ExitCode; 171 return p.ExitCode;
171 } catch(Win32Exception e) { 172 } catch(Win32Exception e) {
172 Console.WriteLine("Fatal: " + e.Message + "; did you install " + ENGINE + "?"); 173 Console.WriteLine("Fatal: " + e.Message + "; did you install " + ENGINE + "?");
......