diff --git a/utils/venv-manager.py b/utils/venv-manager.py index d19da5c..6de0bd8 100644 --- a/utils/venv-manager.py +++ b/utils/venv-manager.py @@ -102,7 +102,7 @@ def run_logged_subprocess(command: Union[str, list], timeout: int = 10, shell: b """ logger.debug(f"Entering subprocess for '{command}'") with subprocess.Popen(command,\ - stderr=subprocess.STDOUT, stdout=subprocess.PIPE, shell=shell, text=True)\ + stderr=subprocess.STDOUT, stdout=subprocess.PIPE, shell=shell, universal_newlines=True)\ as logged_shell_process: subprocess_log_prefix = f"(PID: {logged_shell_process.pid})"