forked from Mirrors/flatpak-builder
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 descriptortingping/wmclass
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…
Reference in New Issue