From 6f3ba6824c6478bdd25f89682ad93b2b5f9b792f Mon Sep 17 00:00:00 2001 From: Nicolas Setton Date: Tue, 5 Jun 2018 15:00:20 -0400 Subject: [PATCH] Tentative to stabilize waiting for processes --- compile_server/app/process_handling.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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