cli-progress
cli-progress copied to clipboard
Multiple progresses on each Child progress (at the moment it overlaps and flashes on updates)
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
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
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?
see https://nodejs.org/api/child_process.html#subprocesssendmessage-sendhandle-options-callback