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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user