mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
fix: output from crew
This commit is contained in:
@@ -9,7 +9,9 @@ def run_crew() -> None:
|
|||||||
"""
|
"""
|
||||||
command = ["uv", "run", "run_crew"]
|
command = ["uv", "run", "run_crew"]
|
||||||
try:
|
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:
|
except subprocess.CalledProcessError as e:
|
||||||
click.echo(f"An error occurred while running the crew: {e}", err=True)
|
click.echo(f"An error occurred while running the crew: {e}", err=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user