From 22030de2dbbc0a8e7504e9b50beaf6f3af7b8864 Mon Sep 17 00:00:00 2001 From: VIGNET Pierre <pierre.vignet@irisa.fr> Date: Wed, 4 Dec 2019 04:17:21 +0100 Subject: [PATCH] [cmd] Fix threading issue --- command_line/cadbiom_cmd/cadbiom_cmd.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command_line/cadbiom_cmd/cadbiom_cmd.py b/command_line/cadbiom_cmd/cadbiom_cmd.py index 6a7a2b8..80c5f6b 100644 --- a/command_line/cadbiom_cmd/cadbiom_cmd.py +++ b/command_line/cadbiom_cmd/cadbiom_cmd.py @@ -654,7 +654,8 @@ def main(): from threading import Thread thread = Thread(target=anal) thread.start() - thread.join() # Launch associated command args.func(params) + + thread.join() -- GitLab