Skip to content

Interaction with fork. #24

Description

@pveber

I have a program that forks repeatedly inside a Progress.with_reporter call, and it seems each time it happens, there's a return carriage that gets printed to the screen. Next time the bar is rendered, it is added below the former render, instead of replacing it, like in:

Processing alignments  0/10 [------------------------------------------------------------------------------------------------------------------] 00:02
Processing alignments  1/10 [###########-------------------------------------------------------------------------------------------------------] 00:33
Processing alignments  2/10 [######################--------------------------------------------------------------------------------------------] 00:34

I'm not absolutely sure this is due to forking, but I highly suspect it. I see no reason for this, however. Maybe there's something I could call in the child process to disable any further interaction with the terminal?

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions