Reply To: Race conditions / buffer issues in console output

Why OSVVM™? Forums OSVVM Race conditions / buffer issues in console output Reply To: Race conditions / buffer issues in console output

#1978
Markus
Member

It seems the problem was on my end after all
When I call
vsim -batch -do "build project.pro"
the output is fine. However, when I call it with a pipeline operator to postprocess the output
vsim -batch -do "build project.pro" | cat
the output is somehow mixed up.

This is a buffering problem which can be solved with unbuffer:
unbuffer -p vsim -batch -do "build project.pro" | cat

See also the respective github isse:
Issue on Github