From 7d35a2cd7a83fbfe758753705cb6d313176fa764 Mon Sep 17 00:00:00 2001 From: Rene Date: Tue, 31 Mar 2026 14:22:42 +0200 Subject: [PATCH] toolbox: capture_output durch stdout=PIPE ersetzt (fzf-Kompatibilitaet) fzf zeichnet die UI ueber stderr. capture_output=True piped auch stderr, wodurch fzf auf aelteren Versionen (0.44, Debian) haengt. Co-Authored-By: Claude Opus 4.6 --- bin/toolbox | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/toolbox b/bin/toolbox index f4e6487..67007f2 100755 --- a/bin/toolbox +++ b/bin/toolbox @@ -775,7 +775,7 @@ def fzf_run(items: list[str], extra_args: list[str]) -> str | None: _FZF_BASE + extra_args, input="\n".join(items), text=True, - capture_output=True, + stdout=subprocess.PIPE, ) return result.stdout.strip() if result.returncode == 0 and result.stdout.strip() else None @@ -787,7 +787,7 @@ def fzf_run_keyed(items: list[str], extra_args: list[str], _FZF_BASE + [f"--expect={expect}"] + extra_args, input="\n".join(items), text=True, - capture_output=True, + stdout=subprocess.PIPE, ) if result.returncode != 0 or not result.stdout.strip(): return ("", None)