diff --git a/compile_server/app/process_handling.py b/compile_server/app/process_handling.py index f059308..d2e655f 100644 --- a/compile_server/app/process_handling.py +++ b/compile_server/app/process_handling.py @@ -79,7 +79,7 @@ class SeparateProcess(object): f.write(line) # Write the return code - self.p.poll() + self.p.wait() returncode = self.p.returncode # Cleanup