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

Feature request: Prefix output with (colored?) indicator of which process it came from #46

Open
ksmithbaylor opened this issue Feb 16, 2016 · 1 comment

Comments

@ksmithbaylor
Copy link

After having used docker-compose in the past, I really liked the way it showed output from all of the processes it runs. Here's a screenshot:

Docker-compose screenshot

It would be nice if parallelshell allowed me to specify a "name" for each process and automatically choose a different color for each prefix. If a name was not given, it would fall back to using the name of the command that was run.

The npm package "concurrently" offers something similar, but the prefixes are not colored and the package itself does not handle colored output well in general.

I'd be happy to work on a pull request if this is something that would be useful!

@paulpflug
Copy link
Collaborator

currently the color of the child processes are passed through
to color the output within parallelshell, we would need to buffer it, but then the color information of the children would get lost.

There could be a flag to switch between the both modes, but what really bothers me is how you want to pass the information which process gets which color ?

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