-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Maybe handle SIGINT? #7
Comments
👍 but it would be nice to have an option for the For example: I start up an http server and run tests - For my case, I was originally thinking of a new option to return the first exit code as the ultimate exit code. I might make a separate issue or PR for that, but I think this would also fit the bill. |
Well, according to your comment, I have something that would solve the problem. You might define "-k -s last". In this case, you are saying to the script just take into account the last child process' exit code status. |
Does it still hang without the |
SIGINT is now passed to children: https://github.com/kimmobrunfeldt/concurrently/pull/43. Will be released as 3.0.0. For now, you can test this by installing 3.0.0-dev version: |
I'm not sure (still sleepy :D) but maybe you should catch SIGINT and pass that through to the children, then e.g. wait for them to handle it and die. You could prompt the user to ^C another time if he wants to not wait and instead send SIGTERM to the children.
The text was updated successfully, but these errors were encountered: