Skip to content
New issue

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

unbuffered output #376

Open
mateuszzz88 opened this issue Jun 14, 2021 · 0 comments
Open

unbuffered output #376

mateuszzz88 opened this issue Jun 14, 2021 · 0 comments

Comments

@mateuszzz88
Copy link

I added xcpretty to my gitlab ci build. I have strong suspicion that it buffers output and flushes only when buffer is full. I base it on the fact that that output "hangs" for long times and occasionally flushes a lot. When using in console manually it works more continuous.
Very likely it is the problem answered here: https://stackoverflow.com/a/21267609/1966790
So could you add STDOUT.sync = true somewhere? Possibly controlled by environment variable?

export XCPRETTYUNBUFFERED=1
... | xcpretty | tee log.txt

or

... | xcpretty --unbuffered | tee log.txt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant