From ad4aada75454e446f5d2bca9652084745c050b2b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexandru=20B=C4=83lu=C8=9B?= Date: Wed, 26 Apr 2017 22:09:27 +0200 Subject: [PATCH] scripts: Fix flatpak-bisect log The script was using stdout=subprocess.STDOUT but the Popen documentation does not mention this as a valid value. An exception was being thrown when running flatpak-bisect log: OSError: [Errno 9] Bad file descriptor --- scripts/flatpak-bisect | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/flatpak-bisect b/scripts/flatpak-bisect index eec49ae6..c27c43b8 100755 --- a/scripts/flatpak-bisect +++ b/scripts/flatpak-bisect @@ -177,7 +177,7 @@ class Bisector(): if pager: stdout = subprocess.PIPE else: - stdout = subprocess.STDOUT + stdout = None p = subprocess.Popen(cmd, stdout=stdout) if pager: ps = subprocess.check_call((pager), stdin=p.stdout)