From 1fa4622d1971aa810327bd1c7b002307b8785b57 Mon Sep 17 00:00:00 2001 From: Agah Date: Sat, 7 Dec 2024 19:32:55 -0500 Subject: [PATCH] make it make sense --- myst_libre/tools/myst_client.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/myst_libre/tools/myst_client.py b/myst_libre/tools/myst_client.py index ce543a8..0317ea1 100644 --- a/myst_libre/tools/myst_client.py +++ b/myst_libre/tools/myst_client.py @@ -158,7 +158,13 @@ def build(self, *args, user=None, group=None): """ os.chdir(self.build_dir) self.cprint(f"--> Self env vars {self.env_vars}", "green") - return self.run_command(*args, env_vars=self.env_vars, user=user, group=group) + stdout_log, stderr_log = self.run_command(*args, env_vars=self.env_vars, user=user, group=group) + self.cprint(f"🐞 Command output: {stdout_log}", "light_grey") + if stderr_log is not None: + combined_log = stdout_log + stderr_log + else: + combined_log = stderr_log + return combined_log def convert(self, input_file, output_file, user=None, group=None): """