From ab8e0e6619ff8eceb2209f47762134f91eee81e4 Mon Sep 17 00:00:00 2001 From: Alexandre Aubin <4533074+alexAubin@users.noreply.github.com> Date: Wed, 10 Jul 2024 23:37:41 +0200 Subject: [PATCH] Update system.py: forgot to add the corresponding stdin arg in some previous commit x_x --- src/utils/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/system.py b/src/utils/system.py index 9b6de576c..12961112f 100644 --- a/src/utils/system.py +++ b/src/utils/system.py @@ -299,7 +299,7 @@ def aptitude_with_progress_bar(cmd): read, write = os.pipe() os.write(write, b"y\ny\ny") os.close(write) - ret = call_async_output(cmd, callbacks, shell=True) + ret = call_async_output(cmd, callbacks, shell=True, stdin=read) if log_apt_status_to_progress_bar.previous_package is not None and ret == 0: log_apt_status_to_progress_bar("done::100:Done")