diff --git a/src/rod/utils/gazebo.py b/src/rod/utils/gazebo.py index 8c0768e..9cc8b8e 100644 --- a/src/rod/utils/gazebo.py +++ b/src/rod/utils/gazebo.py @@ -106,8 +106,7 @@ def process_model_description_with_sdformat( cp = subprocess.run( [str(gazebo_executable), "sdf", "-p", fp.name], text=True, - stdout=subprocess.PIPE, - stderr=subprocess.STDOUT, + capture_output=True, check=True, ) except subprocess.CalledProcessError as e: