Skip to content

Commit

Permalink
Redirect stderr to pipe instead of STDOUT
Browse files Browse the repository at this point in the history
  • Loading branch information
flferretti committed Nov 26, 2024
1 parent bab65c5 commit 6d0f727
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/rod/utils/gazebo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 6d0f727

Please sign in to comment.