From 6187e458fe95c483b5ed6a621ddb7a33f7adecb5 Mon Sep 17 00:00:00 2001 From: Eduardo Chiarotti Date: Fri, 11 Oct 2024 21:33:07 -0300 Subject: [PATCH] fix: output from crew --- src/crewai/cli/run_crew.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/crewai/cli/run_crew.py b/src/crewai/cli/run_crew.py index e4e3e1b2f..7cf8fccf7 100644 --- a/src/crewai/cli/run_crew.py +++ b/src/crewai/cli/run_crew.py @@ -9,7 +9,9 @@ def run_crew() -> None: """ command = ["uv", "run", "run_crew"] try: - subprocess.run(command, capture_output=True, text=True, check=True) + subprocess.run( + command, capture_output=False, text=True, check=True, stderr=subprocess.PIPE + ) except subprocess.CalledProcessError as e: click.echo(f"An error occurred while running the crew: {e}", err=True)