-
-
Notifications
You must be signed in to change notification settings - Fork 233
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
--kill-others-on-fail
flag not working as expected with --group --max-processes 1
#433
Comments
Thanks for the report! I think this use case makes sense. There's a potentially funny interaction with |
How about a Don't the restart flags default to |
Yes. The issue I see starts like this:
But once you add |
Should restart give the commands a chance to run? No. Not on SIGINT. The user is aborting the process. Thinking of docker restart policies:
None of these restart when the container is manually stopped: even "always" explicitly doesn't include if it's manually stopped. |
Yeah, SIGINT has a quite clear use case. So, I think this makes sense. WDYT? |
🚢 This is now fixed in v9.0.0! |
Description
When trying to run multiple scripts sequentially using concurrently, I noticed that the
--kill-others-on-fail
flag is not behaving as expected when used together with the--group --max-processes 1
flags, rest of the scripts still running.Expected Behavior
If one script fails (exits with a non-zero code), all running processes should be terminated when using the
--kill-others-on-fail
flag, even when running scripts sequentially with--group --max-processes 1
.Current Behavior
However, when I use the
--kill-others-on-fail
flag in conjunction with--group --max-processes 1
, concurrently is not terminating all running processes when one script fails. This behaviour is not observed when I remove --group --max-processes 1 from the command.The text was updated successfully, but these errors were encountered: