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
--success last
does not work while --success first
does
#185
Comments
Maybe this is what I'm seeing right now... |
YEP! Changing the order of commands fixed the issue I was seeing.
|
We are running into the same problem. Switching the order of commands helps but we are afraid that it introduces unstable behavior. |
maybe you need a pre script for the thing that definitely needs to happen first? |
I have the same issue for both first and last on 4.1.0. Seems there is no issue in 4.0.1. |
I think this might be related #187 |
Hello all! I'm sorry that I took this long to reply. I think there's a misconception with how
Please pay special attention to the |
Does the above help anyone? 🙂 |
@gustavohenke Ah, I see, this makes sense now. A bit hard to understand from the description, since "first" can be both time-wise and order-wise 🙂 |
Maybe |
I'd like it if I could specify which process is the exit code I care about, |
That SGTM too -- make |
I'd be happy with
|
Hmm that's a breaking change. The default is Anyway, I'm happy to review PRs for this 🙂 |
Expectation
Switching the order of two commands while simultaneously switching from
--success last
to--success first
should not change the exit status ofconcurrently
Observed behaviour
--success last
does not work as expected when used together with--kill-others
Version
4.1.0
Steps to reproduce
Take two commands:
sleep 5; exit 0;
andsleep 100
, and switch their order. With--success first
works correctly:With
--success last
works incorrectly (expected to get exit code0
same as above):The text was updated successfully, but these errors were encountered: