1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-05-10 08:42:12 +02:00

fix: formatting of stdout, stderr captured text for logger

This commit is contained in:
2024-08-14 18:01:51 +02:00
parent bee51bd86e
commit 939f834a26
2 changed files with 6 additions and 5 deletions
+1
View File
@@ -100,6 +100,7 @@ def _start_plot_process(gui_id: str, gui_class: type, config: dict | str, logger
env_dict = os.environ.copy()
env_dict["PYTHONUNBUFFERED"] = "1"
if logger is None:
stdout_redirect = subprocess.DEVNULL
stderr_redirect = subprocess.DEVNULL