Merge pull request #765 from hexid/dotNET-wait-for-exit
Update dotNET executable to wait for the Casper process to exit
Showing
2 changed files
with
1 additions
and
0 deletions
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 + "?"); | ... | ... |
-
Please register or sign in to post a comment