diff --git a/lib/utils/api.py b/lib/utils/api.py index b22fa6e09..ea2d1cbab 100644 --- a/lib/utils/api.py +++ b/lib/utils/api.py @@ -179,8 +179,10 @@ class Task(object): if self.process: try: self.process.kill() + return self.process.wait() except: pass + return None def engine_get_id(self): if self.process: