We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Original report (archived issue) by Carlos Agüero (Bitbucket: caguero, GitHub: caguero).
The output is produced using printf and the output is not flushed when a file redirection is applied. Example:
#!c++ gztopic hz /gazebo/default/world_stats > log
The same problem happens when gztopic hz is combined with another command using a pipe.
Prefixing unbuffer to the command fixes the problem but I guess this is a Linux specific solution.
I propose to replace printf by cout to solve this issue.
See pull request #854.
The text was updated successfully, but these errors were encountered:
Original comment by Carlos Agüero (Bitbucket: caguero, GitHub: caguero).
Sorry, something went wrong.
Original comment by Nate Koenig (Bitbucket: Nathan Koenig).
No branches or pull requests
Original report (archived issue) by Carlos Agüero (Bitbucket: caguero, GitHub: caguero).
The output is produced using printf and the output is not flushed when a file redirection is applied. Example:
The same problem happens when gztopic hz is combined with another command using a pipe.
Prefixing unbuffer to the command fixes the problem but I guess this is a Linux specific solution.
I propose to replace printf by cout to solve this issue.
See pull request #854.
The text was updated successfully, but these errors were encountered: