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

notice and friends generate interleaved output when used concurrently #5756

Open
nh2 opened this issue Dec 1, 2018 · 1 comment
Open

notice and friends generate interleaved output when used concurrently #5756

nh2 opened this issue Dec 1, 2018 · 1 comment

Comments

@nh2
Copy link
Member

nh2 commented Dec 1, 2018

notice and similar functions generate interleaved output when used concurrently.

This is due to the use of hPutStrLn.

It makes writing Cabal hooks that do things in parallel a pain.

It also makes straceing cabal very annoying because it pollutes the outuput.

As a solution, we should use something like say, that prints the entire contents in one go and ensures no interleaved output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants