mirror of
https://github.com/flatpak/flatpak.git
synced 2026-01-26 06:07:56 +00:00
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 <name> log: OSError: [Errno 9] Bad file descriptor
This commit is contained in:
parent
363e03cb26
commit
ad4aada754
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user