Skip to content

notice and friends generate interleaved output when used concurrently #5756

@nh2

Description

@nh2

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions