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

Multiple progresses on each Child progress (at the moment it overlaps and flashes on updates) #133

Open
mihailnicamn opened this issue Dec 29, 2022 · 3 comments

Comments

@mihailnicamn
Copy link

If i use 2 js files each using progress bars, and an main js file that launches both using child process (note that the only way i got the child process to return the cli-progress output is using { shell: true, stdio: 'inherit' } option ) it overlaps the output and shows the last one updated

@AndiDittrich
Copy link
Member

this cannot work due to concurrency issues:

use one process (master or a dedicated child) to run cli-progress (multi bar in your case) and pass the data from the workers via IPC channels to this process to display the progress

@cfmj
Copy link

cfmj commented Feb 6, 2023

this cannot work due to concurrency issues:

use one process (master or a dedicated child) to run cli-progress (multi bar in your case) and pass the data from the workers via IPC channels to this process to display the progress

could you be more specific?

@AndiDittrich
Copy link
Member

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

3 participants