From f8c6411d5daff8ae7f080cffa571b8cc14d66879 Mon Sep 17 00:00:00 2001 From: Jack Rosenthal Date: Sun, 11 Feb 2024 23:25:23 -0700 Subject: [PATCH] cli_launcher: Fix stderr write when command fails --- cli_launcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli_launcher.py b/cli_launcher.py index e60f83d..ef06d21 100755 --- a/cli_launcher.py +++ b/cli_launcher.py @@ -41,7 +41,7 @@ def quiet_run(argv) -> None: ) except subprocess.CalledProcessError as e: print(f"Command failed ({argv})!", file=sys.stderr) - sys.stderr.write(subprocess.stdout) + sys.stderr.write(e.stdout) raise