diff --git a/bin/anime4k.py b/bin/anime4k.py index fe07f6b..5f992eb 100644 --- a/bin/anime4k.py +++ b/bin/anime4k.py @@ -76,7 +76,9 @@ class Anime4k: if locals()[arg] is not None: execute.extend([locals([arg])]) - Avalon.debug_info(f'Executing: {execute}') + self.print_lock.acquire() + Avalon.debug_info(f'Executing: {execute}', ) + self.print_lock.release() return_value += subprocess.run(execute, check=True).returncode # print thread exiting message